Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-25490

Staging issues (pages linking to other pages, reorder pages, save html title & metatdata


    • Type: Bug
    • Status: Closed
    • Resolution: Inactive
    • Affects Version/s: 6.1.0 CE GA1
    • Fix Version/s: 7.0.0 M6
    • Component/s: Staging
    • Labels:


      I've found the following issues when site is in local staging mode
      1) If I go to site pages I can't save Name, HTML Title or any metadata on a page.
      2) If I create a page which links to another page there is no way for me to publish it. It says "There is not a version of this page marked as Ready for Publication." but there is no way to mark it as ready since if you go to that page it will redirect you to the other page
      3) When I try to delete that page in 2) I get following exception
      20:03:20,830 ERROR [render_portlet_jsp:154] com.liferay.portal.NoSuchLayoutException: No Layout exists with the primary key 18727
      at com.liferay.portal.service.persistence.LayoutPersistenceImpl.findByPrimaryKey(LayoutPersistenceImpl.java:896)
      at com.liferay.portal.service.impl.LayoutLocalServiceImpl.getLayout(LayoutLocalServiceImpl.java:965)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)
      at com.liferay.portal.service.impl.LayoutLocalServiceVirtualLayoutsAdvice.invoke(LayoutLocalServiceVirtualLayoutsAdvice.java:101)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
      at com.liferay.portal.service.impl.LayoutLocalServiceStagingAdvice.invoke(LayoutLocalServiceStagingAdvice.java:102)

      Also when i first switched to staging mode I got following exception
      19:46:12,976 WARN [JournalPortletDataHandlerImpl:1475]
      com.liferay.portal.kernel.repository.RepositoryException: No Repository exists with the primary key 10418
      at com.liferay.portal.service.impl.RepositoryLocalServiceImpl.checkRepository(RepositoryLocalServiceImpl.java:116)
      at com.liferay.portal.service.impl.RepositoryLocalServiceImpl.getLocalRepositoryImpl(RepositoryLocalServiceImpl.java:183)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)
      at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)

      and then a series of messages like:

      19:47:32,477 WARN [JournalPortletDataHandlerImpl:761] An article with the ID 13103 already exists. The new generated ID is 17060
      19:47:32,838 WARN [JournalPortletDataHandlerImpl:761] An article with the ID 13113 already exists. The new generated ID is 17069
      19:47:33,184 WARN [JournalPortletDataHandlerImpl:761] An article with the ID 13123 already exists. The new generated ID is 17078
      19:47:33,491 WARN [JournalPortletDataHandlerImpl:761] An article with the ID 13134 already exists. The new generated ID is 17087




            michael.saechang Michael Saechang
            garpinc Garry X
            Participants of an Issue:
            Recent user:
            Esther Sanz
            0 Vote for this issue
            1 Start watching this issue


              Days since last comment:
              9 years, 38 weeks, 4 days ago


                Version Package
                7.0.0 M6