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

Marek Novotny (JIRA) jira-events at lists.jboss.org
Mon Aug 9 15:02:49 EDT 2010


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

Marek Novotny closed JBSEAM-4254.
---------------------------------



> Postback is incorectly determined in integration tests for NonFacesRequest and JSF 1.2
> --------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-4254
>                 URL: https://jira.jboss.org/browse/JBSEAM-4254
>             Project: Seam
>          Issue Type: Bug
>          Components: JSF Integration, Test Harness
>    Affects Versions: 2.1.2.GA, 2.2.0.CR1, 2.2.0.GA, 2.2.1.CR1, 2.2.1.CR2
>            Reporter: Michal Orman
>            Assignee: Marek Novotny
>             Fix For: 2.2.1.CR3
>
>
> 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/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list