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

The image field upgraded does not have image preview and clear with data engine enabled

    Details

      Description

      Steps to reproduce:

      In 70:

      1. Add a web content structure with Image field
      2. Add a template for the structure
      3. Add a web content with the created stureture and add an image to the image field

      In master´╝Ü

      1. Fetch the commits in https://github.com/liferay-echo/liferay-portal/pull/567 and build the bundle
      2. Add the following code to com.liferay.dynamic.data.mapping.internal.upgrade.DDMServiceUpgrade.register method
        registry.register(
        "3.7.2", "3.8.0",
        new com.liferay.dynamic.data.mapping.internal.upgrade.v3_8_0.
        UpgradeDDMStructure(_jsonDDMFormDeserializer, _ddmFormLayoutDeserializer, ddmFormLayoutSerializer, ddmFormSerializer));
        
      1. Run gw clean deploy to install dynamic-data-mapping-service
      2. Copy the data file to bundle
      3. Upgrade to master using upgrade tools
      4. Go to view the web content via Content &Data > Web Content

      Actual result:
      There's no preview and clear for the Image field, this is diffrent from the image field not upgraded.

      Expected result:
      There's preview and clear for the Image field, this is same with the image field not upgraded.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dereck.portela Dereck Portela
              Reporter:
              lu.liu Lu Liu
              Participants of an Issue:
              Recent user:
              Jason Pince
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 15 weeks, 3 days ago

                  Packages

                  Version Package
                  7.3.4 CE GA5
                  7.3.5 CE GA6
                  7.3.10 DXP GA1
                  Master