Details
Description
I've encountered an issue with 1.8.0DR1 that does not allow me to move forward with it.. My webflows are losing state on browser refresh where
this is not happening with 1.7.2. Until this can be fixed I have to revert back to 1.7.2.
Attached is templateClient.war. This war works with 1.7.2 version of jars with a hybrid version of BridgeFacesContext which is a copy of the original 1.8.0dr1 BridgeFacesContext modified so it compiles under 1.7.2
In the war you will see 3 source files also attached. In each of files you can search for keyword "garpinc" so see modifications..
The working combination is BridgeFacesContext.java.hybrid172-180dr1 with 1.7.2 jars
If I put 1.8.0dr1 jars with the 180dr1 version it doesn't work
If I put 1.7.2 jars with 172 version it also doesn't work
If I put 1.8.0dr1 jars with hybrid172-180dr1 jars it doesn't work
To run war you will need to modify appserver jvm to add argument...
-Dconfig.filename=dev
this is not happening with 1.7.2. Until this can be fixed I have to revert back to 1.7.2.
Attached is templateClient.war. This war works with 1.7.2 version of jars with a hybrid version of BridgeFacesContext which is a copy of the original 1.8.0dr1 BridgeFacesContext modified so it compiles under 1.7.2
In the war you will see 3 source files also attached. In each of files you can search for keyword "garpinc" so see modifications..
The working combination is BridgeFacesContext.java.hybrid172-180dr1 with 1.7.2 jars
If I put 1.8.0dr1 jars with the 180dr1 version it doesn't work
If I put 1.7.2 jars with 172 version it also doesn't work
If I put 1.8.0dr1 jars with hybrid172-180dr1 jars it doesn't work
To run war you will need to modify appserver jvm to add argument...
-Dconfig.filename=dev
Issue Links
- depends on
-
ICE-3773 standardRequestScope propagating extra attributes
-
- Closed
-
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Looks like 1.8.0dr1 behavior is related to following report
http://www.icefaces.org/JForum/posts/list/9548.page
Show
Tyler Johnson
added a comment - Looks like 1.8.0dr1 behavior is related to following report
http://www.icefaces.org/JForum/posts/list/9548.page
The codebase appears to have migrated quite a bit since this original patch was tried. Commenting out those lines of code no longer works, however the issue is still valid and has been fixed in http://jira.icefaces.org/browse/ICE-4186.
The upshot of the fix is to enable the redirect-on-pause setting in the src/main/webapp/WEB-INF/config/webflow-config.xml file as follows:
<webflow:flow-executor id="flowExecutor">
<webflow:flow-execution-attributes>
<!-- #4186 comment out for reload support, include for POST-UPDATE type behaviour -->
<!-
<webflow:always-redirect-on-pause value="false" />-></webflow:flow-execution-attributes>
<webflow:flow-execution-listeners>
<webflow:listener ref="jpaFlowExecutionListener" />
<webflow:listener ref="securityFlowExecutionListener" />
</webflow:flow-execution-listeners>
</webflow:flow-executor>
You can comment it out, since the default is "true". Note that this enables the POST->process->REDIRECT pattern as outlined in the 4186 case and disables the faster and more streamlined POST->process-> send updates model in ICEFaces AJAX processing but the two modes are not compatible.
This particular issue is now resolved. If there are further issues related to reload, please refer to 4186 above.