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

Fix thumbnails computation when importing a large PDF with S3 BlobProvider

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.10-HF39, 11.4
    • Fix Version/s: 10.10-HF47, 11.x, 2021.3
    • Component/s: S3
    • Environment:
      S3
    • Release Notes Summary:
      The thumbnail are correctly computed after a direct upload to S3 buckets.
    • Backlog priority:
      800
    • Sprint:
      nxplatform #34
    • Story Points:
      3

      Description

      Issue Description:
      Thumbnail is not getting created when a greater than 5 MB PDF file is added to a folder using the "Create" button with a S3 BlobProvider

      Build a configuration with a S3 instance (e.g. direct download, direct upload) with hotfix up to 10.10-HF37

      Steps through which this issue is reproducible in this environment:

      • Navigate to a folder in Nuxeo web UI
      • Click on the "+" icon to Create a new document
      • In the popup window that comes up, click on the "Import" tab
      • Drag and drop a pdf file (which is greater than 5 MB for the purpose of this test) into the "Import tab"
      • After the pdf file is uploaded, Click on the "Add Properties" button
      • Select the "Asset Type" as "File"
      • Click on "Create" button to create the file
      • After the file is created, click on the breadcrumb and navigate back into the folder
      • Within the folder listing view, the thumbnail of the PDF content is not showing for the uploaded PDF file (instead it shows the default "File" document type image for the thumbnail)

      One observation is in the case where thumbnail gets generated correctly, the mimetype of the main document shows as "application/pdf". Whereas in the case where the thumbnail doesn't get generated, the mimetype of the main document shows as "application/pdf; charset=UTF-8"

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 days, 5 hours, 15 minutes
                  3d 5h 15m