When using onRetrieve and onStore scripts to marshal a string DS field to/from a boolean managed object, policy validation is failed when a different attribute is removed.
User state in DS before:
Result in logs:
This seems to have become a problem since
OPENIDM-15687 introduced whole-object validation when a value is removed, which results in checking the whole object's values. However, in a patch the onRetrieve hook has not been run to do any conversions from what is stored in the user repository.