Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 4.2.BETA
-
Fix Version/s: 4.2, EE-3.3.0.GA_P05
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All
-
Assignee Priority:P1
-
Support Case References:HideSupport Case #14014 - https://icesoft.my.salesforce.com/5007000001hFx3k
Support Case #14185 - https://icesoft.my.salesforce.com/5000g00001ljkC7?srPos=0&srKp=500ShowSupport Case #14014 - https://icesoft.my.salesforce.com/5007000001hFx3k Support Case #14185 - https://icesoft.my.salesforce.com/5000g00001ljkC7?srPos=0&srKp=500
Description
Chrome: Checking a checkbox causes the row to become selected/unselected and is also causing the check to be cleared.
IE11/Firefox: Clicking on a checkbox button isn't causing row selection/unselection but if a row is selected/unselected it is unchecking a checked checkbox.
-
Hide
- Case14014Example.war
- 10.11 MB
- Arran Mccullough
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/context.xml 0.1 kB
- WEB-INF/classes/com/.../support/Item.class 2 kB
- WEB-INF/classes/.../support/TestBean.class 3 kB
- WEB-INF/lib/icefaces-ace.jar 6.42 MB
- WEB-INF/lib/icefaces.jar 695 kB
- WEB-INF/lib/javax.faces-2.2.14.jar 3.00 MB
- WEB-INF/web.xml 2 kB
- index.xhtml 0.5 kB
- welcomeICEfaces.xhtml 3 kB
-
Hide
- Case14014Example.zip
- 21 kB
- Arran Mccullough
-
- Case14014Example/build.xml 3 kB
- Case14014Example/.../ant-deploy.xml 2 kB
- Case14014Example/.../build-impl.xml 80 kB
- Case14014Example/.../genfiles.properties 0.5 kB
- Case14014Example/.../private.properties 0.6 kB
- Case14014Example/.../project.properties 4 kB
- Case14014Example/nbproject/project.xml 0.9 kB
- Case14014Example/src/conf/MANIFEST.MF 0.0 kB
- Case14014Example/src/.../support/Item.java 1 kB
- Case14014Example/src/.../TestBean.java 2 kB
- Case14014Example/web/index.xhtml 0.5 kB
- Case14014Example/web/.../context.xml 0.1 kB
- Case14014Example/web/WEB-INF/web.xml 2 kB
- Case14014Example/.../welcomeICEfaces.xhtml 3 kB
-
Hide
- SC14185.war
- 9.58 MB
- Judy Guglielmin
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/context.xml 0.1 kB
- WEB-INF/classes/com/.../support/Item.class 2 kB
- WEB-INF/classes/.../support/TestBean.class 3 kB
- WEB-INF/lib/icefaces-ace.jar 6.19 MB
- WEB-INF/lib/icefaces.jar 640 kB
- WEB-INF/lib/icepush.jar 207 kB
- WEB-INF/lib/javax.faces.jar 2.55 MB
- WEB-INF/web.xml 2 kB
- index.xhtml 0.5 kB
- welcomeICEfaces.xhtml 2 kB
-
Hide
- SC14185.zip
- 8.97 MB
- Judy Guglielmin
-
- SC14185/.DS_Store 6 kB
- __MACOSX/SC14185/._.DS_Store 0.2 kB
- SC14185/build/web/index.xhtml 0.5 kB
- SC14185/build/web/META-INF/context.xml 0.1 kB
- SC14185/build/web/META-INF/MANIFEST.MF 0.0 kB
- SC14185/build/web/.../support/Item.class 2 kB
- SC14185/build/web/.../support/TestBean.class 3 kB
- SC14185/build/web/.../lib/icefaces-ace.jar 6.19 MB
- SC14185/build/web/.../lib/icefaces.jar 640 kB
- SC14185/build/web/.../lib/icepush.jar 207 kB
- SC14185/build/web/.../lib/javax.faces.jar 2.55 MB
- SC14185/build/web/WEB-INF/web.xml 2 kB
- SC14185/build/web/welcomeICEfaces.xhtml 2 kB
- SC14185/build.xml 3 kB
- __MACOSX/SC14185/._build.xml 0.2 kB
- SC14185/nbproject/ant-deploy.xml 2 kB
- __MACOSX/SC14185/.../._ant-deploy.xml 0.2 kB
- SC14185/nbproject/build-impl.xml 79 kB
- __MACOSX/SC14185/.../._build-impl.xml 0.2 kB
- SC14185/nbproject/genfiles.properties 0.5 kB
- __MACOSX/SC14185/.../._genfiles.properties 0.2 kB
- SC14185/nbproject/.../private.properties 0.5 kB
- __MACOSX/SC14185/.../._private.properties 0.2 kB
- SC14185/nbproject/private/private.xml 0.4 kB
- __MACOSX/SC14185/nbproject/._private 0.2 kB
- SC14185/nbproject/project.properties 4 kB
- __MACOSX/SC14185/.../._project.properties 0.2 kB
- SC14185/nbproject/project.xml 1 kB
- __MACOSX/SC14185/nbproject/._project.xml 0.2 kB
- __MACOSX/SC14185/._nbproject 0.2 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
reopened for Support Case 14185 to backport fix to ICEfaces 3.3.0 maintenance branch
r51869: backported all fixes to the 3.3 EE maintenance branch
Testing Notes: The last test case added (the one using ace:checkboxButton instead of ace:checkboxButtons) needs to be added <ace:ajax /> to the ace:checkboxButton, in order to save the checked state, otherwise, it's just a client-side component and the state is lost after selecting a row.
Please also run all ace:autoCompleteEntry tests, since there was a modification for this fix to work.
It's important to mention that for this test case to work, the ace:checkboxButton needs to have it's value bound to a bean property and to have an <ace:ajax /> tag. Perhaps other components might need those two things to work as well.
I had modified the original test case to use ace:checkboxButton as well, and I spent some time testing the backport either without ajax or without having the value bound to a bean property, and it wasn't working as expected. The first issue was solved (checking the ace:checkboxButton was being done successfully and without selecting the row it was in), but an issue remained where after checking an ace:checkboxButton and then selecting the row, the checked state was lost. This scenario only works if the ace:checkboxButton is using <ace:ajax /> and its value is bound to a bean property.
Verified using attached test case and ICEfaces EE-3.3.0_P05 Jenkins build 2, Tomcat 8, MS Edge, IE 11, 10, 9, FF 53, Chrome 60.
When testing on IE 8 and 7, using Tomcat 8 or 7, the following console error was seen:
IE 8 - SCRIPT5007: Unable to get property 'instanceTag' of undefined or null reference
icepush.uncompressed.js (118,9). This issue is related to http://jira.icesoft.org/browse/ICE-11355. After removing the icepush-ee.jar the issue console error was no longer seen in IE 7 and 8.
That seems to be the same issue as http://jira.icesoft.org/browse/ICE-11355.
It doesn't happen when icepush.jar is not present.
Attached test case.
Steps: