[seam-issues] [JBoss JIRA] Assigned: (JBSEAM-4254) Postback is incorectly determined in integration tests for NonFacesRequest and JSF 1.2

Pete Muir (JIRA) jira-events at lists.jboss.org
Thu Feb 18 06:47:10 EST 2010


     [ https://jira.jboss.org/jira/browse/JBSEAM-4254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir reassigned JBSEAM-4254:
---------------------------------

    Assignee: Tihomir Surdilovic


> Postback is incorectly determined in integration tests for NonFacesRequest and JSF 1.2
> --------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-4254
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-4254
>             Project: Seam
>          Issue Type: Bug
>    Affects Versions: 2.1.2.GA
>            Reporter: Michal Orman
>            Assignee: Tihomir Surdilovic
>
> If I create NonFacesRequest to view which invokes action (for loading data), and contain page parameters, postback is determined to true (where it should be false). It happens because MockResponseStateManager do not override ResponseStateManager#isPostback method which determines postback basing on request parameters. So no matter if it is FacesRequest or NonFacesRequest if view defines page parameters it will be evaluated as postback.
> It works on production, because ResponseStateManagerImpl (from jsf-impl-1.2_12) overrides this method and determines if request is postback basing on ResponseStateManager.VIEW_STATE_PARAM parameter in requests parameters map.

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

        


More information about the seam-issues mailing list