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

PictureViewsGenerationWork should not be marked as idempotent

    XMLWordPrintable

    Details

    • Release Notes Summary:
      PictureViewsGenerationWork is marked as non idempotent.
    • Backlog priority:
      800
    • Team:
      PLATFORM
    • Sprint:
      nxplatform 11.1.16
    • Story Points:
      3

      Description

      PictureViewsGenerationWork uses an id based on the document id:

              repositoryName + ':' + docId + ':' + xpath + ":pictureView"
      

      And don't override Work#isIdempotent which means that it is defined as an idempotent Work by default.

      As a result, when using the StreamWorkManager that handles idempotency, the generated picture is not updated when the blob is updated.

      Either the work must override Work#isIdempotent to be marked as non-idempotent.
      Either the id must be replaced by a digest of the blob and stays idempotent.

        Attachments

          Activity

            People

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