Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Isaac Bárcenas
Web Content Display shows Web Content Incomplete
September 27, 2011 1:20 AM
Answer

Isaac Bárcenas

Rank: New Member

Posts: 1

Join Date: September 27, 2011

Recent Posts

Hi,

I developed a Portal in Liferay, but when add content within a Web Content Display, the content is not complete.

Im sure ther content is storing correctly on MySQL because ir i try to modify it, it shows complete. But in the normal view no.

Regards!
Ravi Kumar Gupta
RE: Web Content Display shows Web Content Incomplete
September 27, 2011 2:09 AM
Answer

Ravi Kumar Gupta

Rank: Liferay Legend

Posts: 1254

Join Date: June 23, 2009

Recent Posts

Can you share content from mysql and screenshot here.. Make sure ur content is in correct form.. check the webpage using firebug or some extension and see if any content is hidden or something..
Samir Gami
RE: Web Content Display shows Web Content Incomplete
September 28, 2011 2:21 AM
Answer

Samir Gami

Rank: Regular Member

Posts: 159

Join Date: February 3, 2011

Recent Posts

is web-content state is "Approved" ??
It should not be pending for "Web Content Display" portlet.
Philipp Kunz
RE: Web Content Display shows Web Content Incomplete
October 26, 2011 11:18 AM
Answer

Philipp Kunz

Rank: New Member

Posts: 9

Join Date: September 3, 2011

Recent Posts

I had the same problem. And I found the cause. It's poor code in LocalizationImpl.java. The XML parser may return the contents in several pieces only the first of which is used. I could correct it very easily in the debugger in order to prove my assumption. That means it quite looks like a bug.

I produced that misbehaviour on Open Jdk 6 and Glassfish 3.1.1 which does not appear to be a supported combination. It might help to use Sun jdk 6 (so that both jdk and app server are from the same manufacturer Oracle) or an alternative to Glassfish. It did not help for me.
Attachments: patch.txt (0.3k)
Hitoshi Ozawa
RE: Web Content Display shows Web Content Incomplete
October 26, 2011 2:29 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7952

Join Date: March 23, 2010

Recent Posts

There has been several problems with OpenJDK so it's not recommended.