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

All existing web contents based on custom structure are broken after upgrade

    Description

    Step to reproduce:

    1. Start a 6.2 or 7.0 or 7.1 or 7.2 or 7.3
    2. Add a web content structure with all fields
    3. Add a web content based on new structure
    4. Type title and all fields
    5. Publish
    6. Shutdown server
    7. Copy data to master folder
    8. Upgrade to master
    9. Start master
    10. Execute reindex
    11. Navigate to web content in edit mode

    Expected Results:
    All fields and values should be shown.

    Actual Results:
    The web content is broken. Additionally, access to new structure in edit mode, all fields are lost.

    Reproduced on:
    Upgrade From:6.2-EE-SP20.
    Tomcat 9.0.37 + MySQL 5.7. Portal master GIT ID: 0704aa6bd8088470d232d051bfda427506516359.

      Attachments

      1. Actual.gif
        Actual.gif
        14.43 MB
      2. data-archive-web-content-with-all-fields-mysql.zip
        91 kB
      3. data-archive-web-content-with-all-fields-mysql(new).zip
        99 kB
      4. LinkToPage.PNG
        LinkToPage.PNG
        95 kB
      5. PostupgradeStructurePart1.PNG
        PostupgradeStructurePart1.PNG
        89 kB
      6. PostupgradeStructurePart2.PNG
        PostupgradeStructurePart2.PNG
        19 kB
      7. PostupgradeStructurePart3.PNG
        PostupgradeStructurePart3.PNG
        41 kB
      8. PostupgradeStructurePart4.PNG
        PostupgradeStructurePart4.PNG
        71 kB
      9. PostupgradeWebContentBasedOnBasicWebContent.PNG
        PostupgradeWebContentBasedOnBasicWebContent.PNG
        65 kB
      10. PostupgradeWebContentBasedOnCustomStructure.PNG
        PostupgradeWebContentBasedOnCustomStructure.PNG
        43 kB
      11. PreupgradePart1.PNG
        PreupgradePart1.PNG
        40 kB
      12. PreupgradePart2.PNG
        PreupgradePart2.PNG
        20 kB
      13. PreupgradePart3.PNG
        PreupgradePart3.PNG
        136 kB
      14. Separator.PNG
        Separator.PNG
        50 kB
      15. Structure.PNG
        Structure.PNG
        59 kB
      16. Web Content.PNG
        Web Content.PNG
        66 kB

        Issue Links

          Activity

            People

            Assignee:
            yang.cao Yang Cao
            Reporter:
            yang.cao Yang Cao
            Participants of an Issue:
            Recent user:
            Tomáš Polešovský
            Engineering Assignee:
            Eudaldo Alonso
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              42 weeks, 2 days ago

                Packages

                Version Package
                Master