[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2707) Avoid proxies in directory display

Christian Bauer (JIRA) jira-events at lists.jboss.org
Thu Mar 6 23:14:57 EST 2008


Avoid proxies in directory display
----------------------------------

                 Key: JBSEAM-2707
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2707
             Project: JBoss Seam
          Issue Type: Bug
          Components: Wiki
            Reporter: Christian Bauer
         Assigned To: Christian Bauer


Sometimes a Hibernate proxied instance sneaks into the list of items in the Wiki directory display. That leads to CCE because we don't handle WikiFile, only its subclasses in some generic handlers:

javax.servlet.ServletException: /includes/directoryBrowserIconMenu.xhtml @10,113 onmouseout="jQuery(this).children('.dirItemIcon').attr('src','#{icon}').toggleClass('mouseOver')": /dirDisplay_d.xhtml @207,122 value="#{themePath}/img/#{wikiDocumentIconHandler.getIconName(node)}": java.lang.ClassCastException: org.jboss.seam.wiki.core.model.WikiFile_$$_javassist_64
 
Need to find out why there is a proxy there, this is supposed to be a direct database query in a fresh persistence context.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list