-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 9.10, 10.10
-
Fix Version/s: 9.10-HF35, 10.10-HF12, 11.1, 2021.0
-
Component/s: Image Management
-
Release Notes Summary:PictureViewsGenerationWork is marked as non idempotent.
-
Tags:
-
Backlog priority:800
-
Team:PLATFORM
-
Sprint:nxplatform 11.1.16
-
Story Points:3
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.