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

Make lazy rendition more resilient when source changes at high rate

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.2
    • Fix Version/s: 9.3
    • Component/s: CMIS, Renditions
    • Backlog priority:
      800
    • Upgrade notes:
      Hide

      Asking for a lazy rendition now returns a "stale" rendition if the property of the source document defined by the sourceDocumentModificationDatePropertyName field of the rendition definition has changed since the latest rendition was computed.

      In this case, the MIME type of the returned rendition contains stale=true.

      Show
      Asking for a lazy rendition now returns a "stale" rendition if the property of the source document defined by the sourceDocumentModificationDatePropertyName field of the rendition definition has changed since the latest rendition was computed. In this case, the MIME type of the returned rendition contains stale=true .
    • Sprint:
      nxfit 9.3.8, nxfit 9.3.9
    • Story Points:
      3

      Description

      How to reproduce:

      • fire up a 9.2 Nuxeo Platform with attached jar file nuxeo-custom-renditions-1.0-SNAPSHOT.jar (github) deployed in nxserver/bundles/ directory
      • create workspace /default-domain/workspaces/NXP-23266 in your Nuxeo repository (or change value of variable PARENT_FOLDER at line 7 of script NXP-23266.sh)
      • update file .setenv with the proper credential, host name, ...
      • play the reproduction scenario with the following command:
        ./NXP-23266.sh Folder1
        

        Folder1 being a Folder document that will be created under /default-domain/workspaces/SUPNXP-21294.

      What does the script:

      • create a folder
      • create files in the created folder
      • request for a lazy rendition (equivalent to ZIP tree export) of the folder after every file creation

      It can happen that, even after several retries, the rendition is never sent, in various ways.

        Attachments

          Issue Links

            Activity

              People

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