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

Image Thumbnails not updated when DLVersionNumberIncrease.NONE

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 7.3.5 CE GA6
    • Fix Version/s: None
    • Component/s: Documents & Media
    • Labels:
      None

      Description

      I'm accessing the images with (e.g)

      /documents/20122/38104/MT026461604243144022.jpeg/eea9401d-30e0-8aee-d69d-6511cc4f8c26?version=1.0&t=1604243144993

      and the thumbnail with

      /documents/20122/38104/MT026461604243144022.jpeg/eea9401d-30e0-8aee-d69d-6511cc4f8c26?version=1.0&t=1604243144993&imageThumbnail=1

      Now when I update an existing fileenty with:

      dlAppLocalService.updateFileEntry(userId, documentId, uniqueFileName , mimeType, uniqueFileName, "", "", DLVersionNumberIncrease.NONE, inputStream, binaryFile.getSize(), serviceContext);

       

      the image gets updated, but the thumbnail stays the same. If I use DLVersionNumberIncrease.AUTOMATIC instead, the update works as expected.

       

       

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            akreienbring André Kreienbring
            Participants of an Issue:
            Recent user:
            André Kreienbring
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              1 year, 10 weeks, 4 days ago

                Packages

                Version Package