Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Duplicate
-
Affects Version/s: EE-3.3.0.GA_P03, 4.1.1, EE-4.1.0.GA, EE-3.3.0.GA_P04
-
Fix Version/s: EE-4.2.0.GA, EE-3.3.0.GA_P05
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All
-
Support Case References:Support Case #13874 - https://icesoft.my.salesforce.com/5007000001dsvxa
Description
An ace:dataTable set to use lazy loading is calling the load() method of the associated LazyDataModel multiple times on each llifecycle. When first loaded on the page it is called 3 times. Each interaction, page change for example, it is called 3 times as well.
This seems to be an issue since the EE 3.3.0 P03 release, the P02 release it is only called once.
This seems to be an issue since the EE 3.3.0 P03 release, the P02 release it is only called once.
-
Hide
- Case13874Example.war
- 9.93 MB
- Arran Mccullough
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/context.xml 0.1 kB
- WEB-INF/classes/com/.../support/Item.class 1 kB
- WEB-INF/classes/.../ItemGenerator.class 2 kB
- WEB-INF/classes/.../support/TestBean$1.class 2 kB
- WEB-INF/classes/.../support/TestBean.class 2 kB
- WEB-INF/lib/icefaces-ace.jar 6.24 MB
- WEB-INF/lib/icefaces.jar 693 kB
- WEB-INF/lib/javax.faces-2.2.13.jar 2.99 MB
- WEB-INF/web.xml 2 kB
- index.xhtml 0.5 kB
- welcomeICEfaces.xhtml 2 kB
-
Hide
- Case13874Example.zip
- 21 kB
- Arran Mccullough
-
- Case13874Example/build.xml 3 kB
- Case13874Example/.../ant-deploy.xml 3 kB
- Case13874Example/.../build-impl.xml 80 kB
- Case13874Example/.../genfiles.properties 0.5 kB
- Case13874Example/.../private.properties 0.4 kB
- Case13874Example/.../project.properties 3 kB
- Case13874Example/nbproject/project.xml 0.9 kB
- Case13874Example/src/conf/MANIFEST.MF 0.0 kB
- Case13874Example/src/.../support/Item.java 0.7 kB
- Case13874Example/src/.../ItemGenerator.java 0.9 kB
- Case13874Example/src/.../TestBean.java 1 kB
- Case13874Example/web/index.xhtml 0.5 kB
- Case13874Example/web/.../context.xml 0.1 kB
- Case13874Example/web/WEB-INF/web.xml 2 kB
- Case13874Example/.../welcomeICEfaces.xhtml 2 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Art, is this a duplicate of the one you recently resolved for EE 4.2?
Attached test case that shows this issue.
Steps:
- Load welcomeICEfaces.jsf
- The following is shown in the server logs:
LazyDataModel load() Called!
LazyDataModel load() Called!
LazyDataModel load() Called!
Show
Arran Mccullough
added a comment - Attached test case that shows this issue.
Steps:
Load welcomeICEfaces.jsf
The following is shown in the server logs:
LazyDataModel load() Called!
LazyDataModel load() Called!
LazyDataModel load() Called!
Closing this issue as a duplicate of
ICE-10880. This issue is already fixed and committed to the 4.2 trunk and the EE 3.3 maintenance branch. The load() method has to be called twice per lifecycle, as explained in the first comment ofICE-10880.