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

Template referring to a global Structure is published to live with the id of the staged structure

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.1.20 EE GA2, 6.1.30 EE GA3, 6.1.X EE
    • Fix Version/s: 6.1.X EE
    • Component/s: Staging
    • Labels:

      Description

      Steps to reproduce:

      1. Setup 2 separate Liferay
      2. Create a Site on both and turn on remote staging on it.
      3. Create a Web Content Structure in Global scope. (on the staging instance)
      4. Publish Global scope.
      5. Create a Web Content Template in the staging Site based on the global structure.
      6. Publish the site to live.
        Result: In the database the template in live has the structureId in staging and a NoSuchStructureException is throw during accessing the list of the templates

      The issue is not relevant on 6.2.x or master because referenced data is is handled in a different way, and also JournalStractures/JournalTemplates were replaced by DDMStructures/DDMTemplates.

        Attachments

          Activity

            People

            Assignee:
            mark.jin Mark Jin (Inactive)
            Reporter:
            norbert.kocsis Norbert Kocsis (Inactive)
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

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

                Packages

                Version Package
                6.1.X EE