[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2224) EntityQuery.resultList contains all nulls after AJAX request

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri Nov 16 09:22:18 EST 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-2224?page=comments#action_12387934 ] 
            
Pete Muir commented on JBSEAM-2224:
-----------------------------------

I wouldn't do that, there may well be other unrelated changes in those classes.

Build the jar by running ant build in the source folder of Seam. Run ant dist to get the zips you normally download. You will have to allow Maven to download Seam deps as they aren't included in the CVS checkout.

> EntityQuery.resultList contains all nulls after AJAX request
> ------------------------------------------------------------
>
>                 Key: JBSEAM-2224
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2224
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 2.0.0.GA
>            Reporter: Alex Savitsky
>         Assigned To: Norman Richards
>         Attachments: jboss-seam-hibernate.war, sh1.jpg, sh2.jpg, sh3.jpg, TestCase.war
>
>
> The resultList of an EntityQuery gets reset to contain all nulls after several AJAX interactions. I'm not sure whether it's Seam or RichFaces that causes the problem (I'm still investigating the cause), but it's bound to be one or the other, because a) it's the EntityQuery that gets reset and b) it only happens when one or more Ajax-enabled RichFaces controls are present on the page. The attached test case uses datascroller & data table, but I was able to observe it with other controls, such as suggestion box.
> Steps to reproduce:
> 1. Put all libraries listed in WEB-INF/lib/libs.txt in WEB-INF/lib (essentially Seam 2.0.0 GA, RichFaces 3.1.2 GA, Hibernate EM 3.3.1 GA, Facelets 1.1.14, Sun JSF RI 1.2.05, plus supporting libs). I didn't put them into WAR, as this makes it >10M big.
> 2. Deploy the WAR and access it at http://hostname/TestCase/index.jsf
> 3. Activate the data scroller TWICE IN A ROW (important) - e.g., press "next page" twice
> 4. Check the contents of the dropdown (just to know what's there normally)
> 5. Select an item in the data table
> 6. Check the contents of the dropdown. All entries are empty now!

-- 
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