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

Upgrade from 6.0.x or minor: Images from Image Gallery/DL are lost after saving an article

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: 6.2.10 EE GA1, 6.2.X EE, 7.0.0 M6
    • Fix Version/s: None
    • Component/s: Dynamic Data Mapping
    • Labels:
      None
    • Fix Priority:
      4

      Description

      Steps to reproduce it:

      1. Startup a 6.0.12 or minor.
      2. Create an image in the Image Gallery
      3. Create an structure with an image gallery field called "imagen"
      4. Create a template associated to that structure with the following content:
        <img src="$imagen.getData()"/>
      5. Create a content using that structure selecting the previous created image.
      6. Click on preview for that content (you will see the previous image)
      7. Shutdown the portal
      8. Upgrade to master (7.0)
      9. Open the web content and click on basic preview (you will see the image)
      10. Publish the web content.
      11. Click on basic preview for that web content.

      Results: You will see nothing instead the image.

      Technical note
      From 6.1.x we keep backward compatibility for ULRs like this:

      /image/image_gallery?uuid=9dfe7d1a-293d-4e5b-bafa-737b9402f899&groupId=176602&t=1305893892698

      After converting from JournalStructure to DDMStructure in 6.2.x this compatibility was broken for filling DL fields during web content edition.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              alberto.chaparro Alberto Chaparro
              Reporter:
              alberto.chaparro Alberto Chaparro
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 32 weeks, 6 days ago

                  Packages

                  Version Package