Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-30529

Prevent Glacier transfer in case of the preview rendition is not available

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Glacier

      Description

      Description

      As a file stored into S3 Glacier requires a delay before being available, we are using a rendition (still stored into S3 and not S3 Glacier) to maintain the capability to the user to see the content in a synchronous way. So the rendition is mandatory to still get access to the content.

      Currently, there is no check that the configured rendition is available before moving the original file into S3 Glacier, which could involve that the file is on GLacier but there is no way to see the content in a synchronous way

      Steps to reproduce (video attached)

      1. As a Nuxeo Administrator, configure the pictures documents to use the 'Original JPEG' rendition as the preview
      2. With a granted user, go to the Nuxeo instance with the glacier addon
      3. Create a pictures document with a TIFF image
      4. Right after the document creation, click on the Move to Glacier action

      Observed result

      3. The file is created

      3. The renditions (including 'Original JPEG' one) are not created yet (as it is an asynchronous process)

      4. the file is moved to Glacier

      Expected result

      3. The file is created

      3. The renditions (including 'Original JPEG' one) are not created yet (as it is an asynchronous process)

      4. the file is NOT moved to Glacier and the user is informed that the action has failed because the rendition is missing

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours, 10 minutes
                  4h 10m