-
Type: Bug
-
Status: Resolved
-
Priority: Blocker
-
Resolution: Duplicate
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Retention
-
Tags:
Login as an administrator
Create a rule
Use the REST API to update the rule and set the following property to true
retention_rule:flexibleRecords
Login as a user that has the ManageRecord permission on a workspace
Create a document of type File in said workspace
Upload a main file into it, ensure that this file is not used within another document
Attach a rule that uses flexible retention to the document
Access document through the REST API
=> isFlexibleRecord is set to true
Put the document under legal hold
=> legal hold can not be set on the document
nuxeo | ****** chain ****** nuxeo | Name: Document.Hold nuxeo | Exception: DocumentSecurityException nuxeo | Caught error: Failed to invoke operation Document.Hold, Cannot change blob from document 9b6737ad-7000-40d4-b145-d09d6773e1f4, it is under retention / hold nuxeo | Caused by: org.nuxeo.ecm.core.api.DocumentSecurityException: Failed to invoke operation Document.Hold, Cannot change blob from document 9b6737ad-7000-40d4-b145-d09d6773e1f4, it is under retention / hold nuxeo | ****** Hierarchy calls ****** nuxeo | org.nuxeo.retention.operations.HoldDocument
Expected: legal hold can be set on the document as described in NXP-31881
- duplicates
-
NXP-32040 Fix DocumentSecurityException when turning a retained flexible record to enforced record
- Resolved
- is related to
-
NXP-32040 Fix DocumentSecurityException when turning a retained flexible record to enforced record
- Resolved
- is required by
-
NXP-31881 Flexible retention behavior
- Resolved