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

Publishing Conflicting Changes - Web Content Article Images

    Details

      Description

      Steps to Reproduce:
      1. Create web content on Production.
      2. Create parallel publications.
      3. Edit the web content in both publications by adding new, different images to the article.
      4. Publish one of the publications.
      5. Attempt to Publish/Schedule or Review Changes for the second publication.

      Expected Results:
      For Publish and Schedule, I expected Publications to perform a conflicts detection and to inform me of my conflicting changes.
      For Review Changes, I expected to be redirected to the Changes page.

      Actual Results:
      Publish and Schedule buttons return the following error, "Portlet is temporarily unavailable."
      When 'working on' the problematic publication, clicking on Review Changes returns the following error, "Changes is temporarily Unavailable." However, when 'working on' Production, I can successfully navigate to the Changes page for the problematic publication via the Publications Overview page.

      What I see in Tomcat when I try to _Publish _the publication:

      2020-09-17 15:57:38.580 ERROR [http-nio-8080-exec-9][JDBCExceptionReporter:234] integrity constraint violation: unique constraint or index violation: IX_D3ACAD4A
       2020-09-17 15:57:38.587 ERROR [http-nio-8080-exec-9][render_portlet_jsp:131] null
       org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): com.liferay.journal.model.impl.JournalArticleImpl#39326

      What I see in Tomcat when I try to _Schedule _the publication:

      2020-09-17 15:58:42.324 ERROR [http-nio-8080-exec-5][PortletRequestDispatcherImpl:304] Unable to dispatch request: java.lang.NullPointerException
       2020-09-17 15:58:42.326 ERROR [http-nio-8080-exec-5][PortletServlet:119] javax.portlet.PortletException: org.apache.jasper.JasperException: java.lang.NullPointerException
       javax.portlet.PortletException: org.apache.jasper.JasperException: java.lang.NullPointerException
       ...
       2020-09-17 15:58:42.388 ERROR [http-nio-8080-exec-5][render_portlet_jsp:131] null
       java.lang.NullPointerException

      What I see in Tomcat when I try to Review Changes for the publication:

      2020-09-17 15:59:21.457 ERROR [http-nio-8080-exec-6][PortletServlet:119] javax.portlet.PortletException: com.liferay.change.tracking.exception.NoSuchCollectionException: No CTCollection exists with the primary key 0
      javax.portlet.PortletException: com.liferay.change.tracking.exception.NoSuchCollectionException: No CTCollection exists with the primary key 0
      ...
      2020-09-17 15:59:21.565 ERROR [http-nio-8080-exec-6][render_portlet_jsp:131] null
      com.liferay.change.tracking.exception.NoSuchCollectionException: No CTCollection exists with the primary key 0
      

      Reproduced on:
      Tomcat-9.0.37, DXP liferay-portal-master-private 20200915,
      https://github.com/liferay/liferay-portal/commit/32a093f36ac89639601447e22fa8b0211f5ae70c

        Attachments

          Activity

            People

            Assignee:
            brian.lee Brian Lee
            Reporter:
            james.garcia James Garcia
            Participants of an Issue:
            Recent user:
            Yunlin "Steven" Sun
            Engineering Assignee:
            Preston Crary
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              36 weeks, 2 days ago

                Packages

                Version Package
                7.3.10 DXP FP1
                7.3.10.1 DXP SP1
                Master