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

Functionality loss in the error obtained when publishing content with missing references using remote Staging

Details

    Description

       

      There is a functionality loss in the Staging module in version 7.3. When a user publishes content using remote Staging with a missing reference, the error displayed has less detail in 7.3 than 7.2. When this case happens in 7.2, the error provides information about the implicated site and the missing reference. The error displayed in 7.2 is in the attached file "7.2_error.jpg".

      But in 7.3 and master, the error displayed was changed. The new error message is more generic and doesn't provide any info about the problematic reference. The 7.3 error is in the attached file "7.3_error.jpg".

      The lost information could help a user to identify a missing reference. Losing this information when a missing reference error happens, it could be more difficult to locate the problematic reference. 

      This problem is associated with the change LPS-119049 that improves the platform security restricting the information shown in error messages. 

       

      Steps to reproduce:

      1. Create two Sites called "SiteA" and "SiteB".
      2. Configure remote Staging in "SiteA".
      3. In the "SiteA", create a Structure called "StructureA" with an Image Field.
      4. In the "SiteB", upload an image to Document and Media.
      5. Create a Web Content based on "StructureA" and select the image uploaded previously in the "SiteB".
      6. Publish to Live. 

        Expected: The error shows the detail of the missing reference information.
        Current: The error only shows a generic missing reference problem happened.

      Attachments

        1. 7_2_error.png
          7_2_error.png
          44 kB
        2. 7_3_error.png
          7_3_error.png
          25 kB
        3. LPS-126729_reproduction_73updated.mp4
          2.73 MB
        4. modificationMessage.png
          modificationMessage.png
          31 kB

        Issue Links

          Activity

            People

              marcell.weller Marcell Weller (Inactive)
              david.tello David Tello
              Kiyoshi Lee Kiyoshi Lee
              Laszlo Pap Laszlo Pap
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                1 year, 22 weeks, 3 days ago

                Packages

                  Version Package
                  7.3.X
                  7.4.3.6 CE GA6
                  7.4.13 DXP U2
                  Master