Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Invalid
-
Affects Version/s: EE-3.3.0.GA_P03
-
Fix Version/s: EE-3.3.0.GA_P04
-
Labels:None
-
Environment:Liferay 6.1.2 GA3 - Tomcat 7.0.40, Liferay Faces Bridge 3.1.3-GA4
-
Assignee Priority:P1
-
Support Case References:Support Case #13776 - https://icesoft.my.salesforce.com/5007000001aySGH
Description
unknown content in response - application/xml;charset=UTF-8, expected text/xml
Once this is in the logs, the push connection is not active so none of the updates from other windows/browsers are applied. If the an action happens on the client then these updates are applied.
-
Hide
- chat-portlet.war
- 4.32 MB
- Arran Mccullough
-
- chat.xhtml 5 kB
- images/down-arrow.png 4 kB
- images/spacer.png 4 kB
- images/up-arrow.png 4 kB
- index.jsp 0.7 kB
- META-INF/chat-portlet.xml 0.7 kB
- META-INF/MANIFEST.MF 0.1 kB
- resources/css/chat.css 0.7 kB
- WEB-INF/classes/org/.../chat/ChatRoom.class 4 kB
- WEB-INF/classes/org/.../chat/Message.class 2 kB
- WEB-INF/classes/.../chat/Participant.class 5 kB
- WEB-INF/classes/.../messages.properties 0.8 kB
- WEB-INF/classes/.../messages_en.properties 0.6 kB
- WEB-INF/.../messages_en_US.properties 0.6 kB
- WEB-INF/classes/.../messages_es.properties 0.8 kB
- WEB-INF/classes/.../ResourceUtil.class 3 kB
- WEB-INF/faces-config.xml 1 kB
- WEB-INF/lib/icefaces-ee-ext.jar 60 kB
- WEB-INF/lib/icefaces-ee.jar 633 kB
- WEB-INF/lib/icepush-ee.jar 376 kB
- WEB-INF/lib/javax.faces.jar 2.54 MB
- WEB-INF/lib/jstl.jar 405 kB
- WEB-INF/.../liferay-faces-bridge-api-3.1.3-ga4.jar 30 kB
- WEB-INF/.../liferay-faces-bridge-impl-3.1.3-ga4.jar 493 kB
- WEB-INF/.../liferay-faces-portal-3.1.3-ga4.jar 95 kB
- WEB-INF/.../liferay-faces-util-3.1.3-ga4.jar 134 kB
- WEB-INF/liferay-display.xml 0.9 kB
- WEB-INF/liferay-plugin-package.properties 0.9 kB
- WEB-INF/liferay-portlet.xml 2 kB
- WEB-INF/META-INF/chat-portlet.xml 0.7 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
When testing with Liferay Faces 3.1.5-ga6 jars the issue does not occur anymore.
Please ask the customer to upgrade all of their Liferay Faces jars to 3.1.5-ga6 and see if it is still a problem.
The GA5 release contains fixes for security vulnerabilities:
https://web.liferay.com/web/neil.griffin/blog/-/blogs/announcement-patches-for-liferay-faces-ga5But upgrading to GA6 would be even better since that also contains the vulnerability fixes but fixes for other defects as well.
Thanks,
Neil
It seems that com.liferay.faces.bridge.application.ResourceImpl.getRequestPath method is not constructing a path that later on would be recognized by GenericPortlet as corresponding to a resource.
It does not look like we can do anything on the Icefaces side. The resource URL that corresponds to the blocking connection is generated by Liferay but then is not recognized as a resource by Liferay itself. It seems that really the Liferay Bridge needs to be fixed.
Yeah, I cannot reproduce the issue with Liferay Faces Bridge 3.2.5-ga6 libraries that we have in the repository. I don't think we need to support older (/buggy) portlet bridge libraries so I'm marking this issue as invalid.
Feel free to reopen the issue if there is a valid reason to make things work with Liferay 6.1.2-ga3.
Issue is not reproducible with Liferay 6.2 using the Liferay Faces Bridge 3.2.4
Attached chat portlet demo to reproduce the issue.
Steps:
- Load the Chat portlet in two different browsers.
- Login with a different username in each browser.
- Enter in a message and click the send button.
- The update is not seen in the other browsers until they send a message.
Marking Invalid as the resolution to this issue is to update the Liferay Faces Bridge to the specified version.