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

Fragments are migrated as components instead of as sections when upgrading from 7.1 to 7.2

    Details

    • Branch Version/s:
      7.2.x
    • Backported to Branch:
      Committed
    • Fix Priority:
      3

      Description

      Steps to reproduce

      1. Start Liferay 7.1
      2. Create attached Fragment
      3. Create a Content Page and add the Fragment
      4. Check the Fragment is occupying the whole width
      5. Migrate to Liferay 7.2

      Expected behavior
      Fragment is occupying the whole width

      Actual behavior
      Fragment is occupying half of the screen

      Additional Notes
      The reason why this is happening is because during the upgrade we are not specifying whether the fragment is a section or a component, so once migrated is automatically treated as a component (there's no type attribute for them in layoutpagetemplatestructurerel.data_)

        Attachments

          Activity

            People

            Assignee:
            yang.cao Yang Cao
            Reporter:
            antonio.ortega Antonio Ortega
            Participants of an Issue:
            Recent user:
            Yang Cao
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.2.10 DXP FP8
                7.2.10.2 DXP SP3
                7.2.X