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

Image description is disappearing after upgrade

    Details

      Description

      Description

      Steps to Reproduce

      1. Add a web content structure with Image field
      2. Add a template for the structure
      3. Add a web content with the created structure and add an image to the image field
      4. Add the following code to com.liferay.dynamic.data.mapping.internal.upgrade.DDMServiceUpgrade.register method

       

      registry.register(registry.register( "3.8.1", "3.9.0", new com.liferay.dynamic.data.mapping.internal.upgrade.v3_9_0. UpgradeDDMStructure( _jsonDDMFormDeserializer, _ddmFormLayoutDeserializer, _ddmFormLayoutSerializer, _jsonDDMFormSerializer));

       @Reference

      private DDMFormLayoutSerializer _ddmFormLayoutSerializer;

       

       

      1. Run gw clean deploy to install dynamic-data-mapping-service
      2. Copy both files to bundles/osgi/config
      3. Go to bundles/tools/portal-tools-db-upgrade-client and run db_upgrade.sh
      4. Run the portal and go to Content &Data > Web Content

      Expected Result

      Image description should appear after upgrade

      Actual Result

      Image description is disappearing after upgrade

      Reproduced In
      master: 1686865f4fc165324741c6ad64f945df68e0e07b

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dereck.portela Dereck Portela
              Reporter:
              dereck.portela Dereck Portela
              Participants of an Issue:
              Recent user:
              Dereck Portela
              Engineering Assignee:
              Mateus Santana
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 week, 1 day ago

                  Packages

                  Version Package
                  7.3.X
                  Master