-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.2.10 EE GA1, 7.0.0 M3
-
Fix Version/s: 6.2.2 CE GA3 , 6.2.X EE, 7.0.0 M1
-
Branch Version/s:6.2.x
-
Backported to Branch:Committed
-
Story Points:4
-
Fix Priority:3
-
Git Pull Request:
A web content article is only listed in the site adminitration, if the version 1.0 of the article exists.
To reproduce the bug you can use the following steps:
- Start a 6.2.10 Liferay portal
- Create and publish a new standard web content article (either by using the display portlet on a layout page or by using the site adminitration portlet)
- Edit the article and publish a second version of the article
- Delete the version 1.0 by using the article history
- List all article in the site adminitration portlet => the new article is missing.
- In the server log, the following exception is throw:
2014-01-31 11:55:29,437 ERROR [http-bio-8180-exec-35][IncludeTag:129] Current URL /group/control_panel/manage?p_p_auth=b2IoJgN3&p_p_id=15&p_p_lifecycl e=2&p_p_state=maximized&p_p_mode=view&p_p_cacheability=cacheLevelPage&doAsGroupId=142508&refererPlid=142648&controlPanelCategory=current_site.content& _15_folderId=0&_15_displayStyle=&_15_viewEntries=1&_15_viewFolders=false&_15_struts_action=%2Fjournal%2Fview&_15_navigation=home&_15_entryStart=0&_15_ entryEnd=20&_15_folderStart=0&_15_folderEnd=20&ajax=1 generates exception: com.liferay.portlet.journal.NoSuchArticleException: No JournalArticle exist s with the key {groupId=142508, articleId=159469, version=1.0} com.liferay.portlet.journal.NoSuchArticleException: No JournalArticle exists with the key {groupId=142508, articleId=159469, version=1.0} at com.liferay.portlet.journal.service.persistence.JournalArticlePersistenceImpl.findByG_A_V(JournalArticlePersistenceImpl.java:24064) at com.liferay.portlet.journal.service.impl.JournalArticleLocalServiceImpl.getArticle(JournalArticleLocalServiceImpl.java:1481) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115) at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62) at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111) at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175) at com.liferay.portlet.journal.service.JournalArticleLocalServiceUtil.getArticle(JournalArticleLocalServiceUtil.java:961) at org.apache.jsp.html.portlet.journal.view_005farticle_005fdescriptive_jsp._jspService(view_005farticle_005fdescriptive_jsp.java:619) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:57) at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78) at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53) at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:295) at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:192) at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:83) at org.apache.jsp.html.portlet.journal.view_005fentries_jsp._jspx_meth_liferay_002dutil_005finclude_005f1(view_005fentries_jsp.java:2044) at org.apache.jsp.html.portlet.journal.view_005fentries_jsp._jspx_meth_c_005fotherwise_005f2(view_005fentries_jsp.java:2020) at org.apache.jsp.html.portlet.journal.view_005fentries_jsp._jspService(view_005fentries_jsp.java:1254)
The bug is located in the jsp named view_article_description.jsp: in line 29 the article version 1.0 is used to determine the creation date of the article.
- relates
-
LPE-11774 Deleting version 1.0 of a web content article hides the article in the control panel
-
- Closed
-