[
https://jira.jboss.org/browse/JBSEAM-4254?page=com.atlassian.jira.plugin....
]
Tihomir Surdilovic reassigned JBSEAM-4254:
------------------------------------------
Assignee: Marek Novotny (was: Tihomir Surdilovic)
Marek assigning to you as you worked on JBPAPP-3769. Let me know if this is an issue.
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
Affects Versions: 2.1.2.GA
Reporter: Michal Orman
Assignee: Marek Novotny
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