-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 10.10-HF72, 2023.0, 2021.35
-
Component/s: Automation, Rest API
-
Release Notes Summary:Blob.AttachOnDocument works with a list of blobs.
-
Tags:
-
Team:PLATFORM
-
Sprint:nxplatform #82
-
Story Points:3
While working on JAVACLIENT-179 we've notice that Blob.AttachOnDocument (for exmaple, can happen for other operations) doesn't handle correctly a list of blobs in a specific context.
The first thing we observed is that the operation is saving the document after adding each blobs, which could be a performance issue and which triggers too many documentUpdated events.
The second is that only the first blob of the list is saved when the full document is given as context param, like for example:
{ "params": { "document": { "entity-type": "document", "uid": SOME_UID", "properties": { "files:files": [] } }, "xpath": "files:files" } }
We would like to fix the second point and optimize the first one.
- is related to
-
JAVACLIENT-179 Allow to execute an automation on the whole batch
- Resolved