Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: 6.1.0 CE GA1
-
Fix Version/s: 6.1.1 CE GA2
-
Component/s: WCM > Web Content Administration
-
Labels:None
-
Environment:liferay 6.1.0 tomcat bundle
-
Liferay Contributor's Agreement:Accept
-
Similar Issues:
Description
We implementing own portlet - this portlet shoudl display web-content by specified articleId.
So, to do it we are using followed code:
<%
JournalArticleDisplay articleDisplay = JournalContentUtil.getDisplay(themeDisplay.getScopeGroupId(), String.valueOf(articleId), null, themeDisplay.getLanguageId(), themeDisplay);
%>
<%= displayArticle == null ? StringPool.BLANK : displayArticle.getContent() %>
this works fine for normal articles - but in case we are trying to display template driven article - we always got null from getDisplay method.
Issue Links
- duplicates
-
LPS-18364
AssetRenderer fails for Journal/Web Content utilising template when embeded in custom portlet due to incorrect class loader
-
Activity
| Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
|---|---|---|---|---|---|---|---|---|---|
|
3m 59s | 1 | Alexey Kakunin | 08/Mar/12 1:46 PM | |||||
|
6s | 1 | Alexey Kakunin | 08/Mar/12 1:46 PM | |||||
|
326d 4h 1m | 1 | Mika Koivisto | 28/Jan/13 5:48 PM | |||||
|
2m 24s | 1 | Michael Saechang | 28/Jan/13 5:50 PM |
