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


    • Type: Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: 7.3.X, Master
    • Fix Version/s: None
    • Component/s: Staging
    • Labels:
    • Fix Priority:



      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.


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

          Issue Links



              support-lep@liferay.com SE Support
              david.tello David Tello
              Participants of an Issue:
              Recent user:
              Ahmed Abdin
              Engineering Assignee:
              David Tello
              0 Vote for this issue
              5 Start watching this issue


                Days since last comment:
                18 weeks, 1 day ago


                  Version Package