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

Create feature "Regenerate thumbnails on demand"

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.10, 10.2
    • Fix Version/s: 9.10-HF24, 10.10
    • Component/s: Thumbnail Service
    • Release Notes Summary:
      New RecomputeThumbnails operation available for administrators.
    • Backlog priority:
      1,000
    • Upgrade notes:
      Hide

      Added the RecomputeThumbnails operation for administrators.
      Sample call:

      curl -v -H 'Content-Type:application/json' -d '{"params": {"query": "SELECT * FROM Document WHERE ecm:mixinType = \"Thumbnail\" AND thumb:thumbnail/data IS NULL AND ecm:isVersion = 0 AND ecm:isProxy = 0 AND ecm:isTrashed = 0"}, "context": {}}' -u Administrator:Administrator http://localhost:8080/nuxeo/site/automation/RecomputeThumbnails
      
      Show
      Added the RecomputeThumbnails operation for administrators. Sample call: curl -v -H 'Content-Type:application/json' -d '{ "params" : { "query" : "SELECT * FROM Document WHERE ecm:mixinType = \" Thumbnail\ " AND thumb:thumbnail/data IS NULL AND ecm:isVersion = 0 AND ecm:isProxy = 0 AND ecm:isTrashed = 0" }, "context" : {}}' -u Administrator:Administrator http: //localhost:8080/nuxeo/site/automation/RecomputeThumbnails
    • Sprint:
      nxfit 10.10.3
    • Story Points:
      3

      Description

      Due to conditions external to Nuxeo, generation of thumbnails might fail (ImageMagick not installed, wrong IM policy.xml...). When the external condition is cured, there is no way to automatically regenerate thumbnail.

      What is requested is a way to regenerate the missing thumbnails without having to modify documents and without having an entry in the audit for every document.

      This must work for Cloud or other high volume customers who have gazillions of documents affected.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 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 - 5 hours
                  5h