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

              dereck.portela Dereck Portela
              dereck.portela Dereck Portela
              Kiyoshi Lee Kiyoshi Lee
              Mateus Santana Mateus Santana
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                2 years, 2 weeks ago

                Packages

                  Version Package
                  7.3.6 CE GA7
                  7.3.X
                  7.4.13 DXP GA1
                  Master