Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Duplicate
-
Affects Version/s: 1.7RC1
-
Fix Version/s: 1.7
-
Component/s: None
-
Labels:None
-
Environment:Liferay 4.4.2 + Tomcat 6.0.16 bundle + ICEfaces 1.7RC1
Description
Although it is only one .WAR, it contains two portlets: Customers and Bookings
To reproduce the problems:
1. Download and Install the Liferay 4.4.2 + Tomcat 6.0.16 bundle
2. Run the bundle, which will create a $HOME/liferay/deploy folder
3. Download the sample-icefaces-ipc-ajax-push-portlet.war attached to this ticket and copy to $HOME/liferay/deploy
5. Start IE7
6. Login as test@liferay.com with password test
7. Position the mouse over the "Welcome" dock in the upper right hand corner
8. Navigate to "My Places > My Community > Private Pages"
9. Add a page named "IPC"
10. Under the "Add Content" menu, expand the "Samples" category
11. Add the "Sample ICEfaces IPC - Customers" portlet
12. Under the "Add Content" menu, expand the "Samples" category
13. Add the "Sample ICEfaces IPC - Bookings" portlet
14. Click on a customer, note in the Tomcat log:
ERROR [CustomerTable:92] fatal render failure for viewNumber 1
15. Click on the Home tab
16. Click back on the IPC tab, and note in the Tomcat log
ERROR [CustomerTable:92] fatal render failure for viewNumber 1
ERROR [CustomerTable:92] fatal render failure for viewNumber 3
And if you keep repeating steps 15 and 16, more and more output occurs in the Tomcat log.
Also, it seems like sometimes I have to click twice on a customer before the Ajax Push server initiated rendering takes place.
-
Hide
- sample-icefaces-ipc-ajax-push-portlet-4.4.1.1.war
- 4.22 MB
- Neil Griffin
-
- META-INF/context.xml 0.2 kB
- WEB-INF/classes/Language_en.properties 0.2 kB
- WEB-INF/classes/.../dao/CustomerUtil.class 2 kB
- WEB-INF/classes/.../CustomerTable.class 5 kB
- WEB-INF/classes/com/.../model/Booking.class 1 kB
- WEB-INF/classes/com/.../model/Customer.class 2 kB
- WEB-INF/classes/.../PortletSessionUtil.class 1 kB
- WEB-INF/classes/log4j.properties 0.2 kB
- WEB-INF/classes/log4j.xml 0.9 kB
- WEB-INF/.../messages-override.properties 1 kB
- WEB-INF/faces-config.xml 1 kB
- WEB-INF/lib/backport-util-concurrent.jar 319 kB
- WEB-INF/lib/el-api.jar 24 kB
- WEB-INF/lib/el-ri.jar 97 kB
- WEB-INF/lib/icefaces-comps.jar 1.68 MB
- WEB-INF/lib/icefaces-facelets.jar 593 kB
- WEB-INF/lib/icefaces.jar 772 kB
- WEB-INF/lib/jsf-api.jar 356 kB
- WEB-INF/lib/jsf-impl.jar 778 kB
- WEB-INF/liferay-display.xml 0.3 kB
- WEB-INF/liferay-plugin-package.properties 0.6 kB
- WEB-INF/liferay-portlet.xml 1.0 kB
- WEB-INF/portlet.xml 2 kB
- WEB-INF/src/Language_en.properties 0.2 kB
- WEB-INF/src/com/.../dao/CustomerUtil.java 2 kB
- WEB-INF/src/.../CustomerTable.java 6 kB
- WEB-INF/src/com/.../model/Booking.java 2 kB
- WEB-INF/src/com/.../model/Customer.java 2 kB
- WEB-INF/src/.../util/PortletSessionUtil.java 2 kB
- WEB-INF/src/log4j.xml 0.9 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
I have replicated both issues with 1.7 RC1
1) The FatalRenderingException seems to be caused by improper bean disposal which has been fixed (http://jira.icefaces.org/browse/ICE-2904). When I updated the case to use the latest code from the repository head, it went away. We can consider this issue fixed.
2) Occasionally, clicking on one of the Customer buttons in the first portlet doesn't appear to trigger a render. Clicking a second time appears to work. However, I also waited for the next heartbeat and that ALSO worked. So it appears that the framework knows that a change is pending but doesn't send it as a response to the initial click. This one will need further investigation as it doesn't happen all the time.
Thanks Derek – Fixing the usability problem with having to click on the item twice is something that IMHO can wait for ICEfaces 1.7.1
I'm closing this as duplicate as part of the previous case (ICE-2904) mentioned where beans weren't being disposed properly and opening a separate case for the issue of the updates not always being applied.
Another bug that might be related is when I pick a date in Bookings portlet, then I have to click twice on the next customer before it will render.