Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P03
-
Fix Version/s: EE-3.3.0.GA_P04
-
Labels:None
-
Environment:Mojarra 2.1.29-01, 2.1.29-02, 2.1.29-03
-
Assignee Priority:P1
-
Support Case References:Support Case #13492 - https://icesoft.my.salesforce.com/5007000001HcOcR
-
Workaround Exists:Yes
-
Workaround Description:The Mojarra 2.1.29 (before 2.1.29-01) doesn't seem to show this behavior as well as the supported 2.1.28 release.
Description
A commandLink is being rendered in an iterative container (ui:repeat, ace:dataTable, etc). On click of this link the action method receives the var object and updates the page based off of this click.
Using ICEfaces 3 with Mojarra 2.1.29-01, upon each click the action method is called twice (except for the first click). It is called once for the current clicking link and again for the last one (when clicking down the list). When clicking up the list, this causes the data on the page to be shown incorrectly, the last link method is always called.
I have created a plain JSF test case using the same code and jar file but this doesn't show the same behavior.
Using ICEfaces 3 with Mojarra 2.1.29-01, upon each click the action method is called twice (except for the first click). It is called once for the current clicking link and again for the last one (when clicking down the list). When clicking up the list, this causes the data on the page to be shown incorrectly, the last link method is always called.
I have created a plain JSF test case using the same code and jar file but this doesn't show the same behavior.
Issue Links
- depends on
-
ICE-10782 Update included Mojarra JSF library to 2.1.29-04
-
- Closed
-
Attached test case that reproduces this issue.
Steps:
Opening popup for: 0
Opening popup for: 1
Opening popup for: 0
Opening popup for: 1