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

Template and structure relationship is removed when upgrading from 6.1 to 6.2 if they reside in different sites

    Details

    • Fix Priority:
      3

      Description

      Steps to Reproduce

      1. Create a structure in the Global site called "Global Structure":

      <?xml version="1.0"?>
      <root>
      	<dynamic-element name="Title" type="text" index-type="" repeatable="false"/>
      </root>
      

      2. Create a template in the Liferay site called "Local Template" and select the Global Structure:

      <h1>$Title.getData()</h1>
      

      3. Create a Web Content article in the Liferay site using the Global Structure and the Local Template

      4. Upgrade to 6.2 or Master (Upgrading to Master results in a less than usable Portal currently, but looking at the DDMTemplate table, you can see that the upgraded "Local Template"s classPK is 0 when it should be pointing to the upgraded "Global Structure"s ID in DDMStructure)

      5. Assert that the user cannot edit the Web Content article and the Local Template is no longer linked to the Global Structure

        Attachments

          Activity

            People

            Assignee:
            lu.liu Lu Liu
            Reporter:
            jonathan.mccann Jonathan McCann
            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:
              3 years, 37 weeks ago

                Packages

                Version Package
                6.2.X EE
                7.0.X EE
                Master