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

Publication validation error is ambiguous and provides incorrect directions.

    Details

      Description

      When staging a site that references Global content, if the content does not exist in the remote site the error message in the staging menu tells the user to try publishing again. Instead they should publish Global first and then try to publish the site again.

      Steps to reproduce
      1. Create a new site "test" on both stage and live servers
      2. enable remote staging for "test"
      3. enable remote staging for Global
      4. add Web Content Display portlet to a page of site "test" (stage server)
      5. configure the portlet's scope to Global
      6. add new web content (this will add the web content into the Global site
      7. publish "test" to remote and observe the error message

      Message says:
      Publication did not start due to validation errors
      there are missing references that could not be found in the live environment. Please publish again to live ensuring that the following elements are published

      When the details are displayed the validation error should tell you where the reference is and possibly suggest that you should stage global first. This is really what is really meant by "ensureing that the following elements are published"

        Attachments

        1. Fixed.png
          Fixed.png
          57 kB
        2. Result.png
          Result.png
          55 kB

          Issue Links

            Activity

              People

              Assignee:
              linda.sui Linda Sui
              Reporter:
              andrew.betts Andrew Betts
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 13 weeks, 5 days ago

                  Packages

                  Version Package
                  6.2.2 CE GA3
                  6.2.3 CE GA4
                  6.2.4 CE GA5
                  6.2.X EE
                  7.0.0 M1