Details
-
Story
-
Status: Open (View Workflow)
-
TBD
-
Resolution: Unresolved
-
None
-
None
-
None
-
-
CP: R3 2022 roadmap, CP: Roadmap backlog
-
Core: Platform
-
Nolana (R3 2022)
-
TBD
Description
"updateOnlyPresentFields" is broken by design because it doesn't allow to delete a property.
RFC 6902 "JSON Patch" is a standard for altering a JSON: https://jsonpatch.com/
A single file Java implementation with Apache 2.0 license exists: https://github.com/egerardus/simple-json-patch
Task: Implement an API that takes a list of JSON Patch entries so that a batch of user records can be updated in one go.
The API should have a non-RFC6902 extension that allows to merge the addresses by address type, similar to our existing code: https://github.com/folio-org/mod-user-import/blob/v3.6.6/src/main/java/org/folio/service/UserDataProcessingService.java#L93-L133
TestRail: Results
Attachments
Issue Links
- relates to
-
RMB-942 JSON Patch SQL function
-
- Open
-
-
MODUIMP-8 Data elements from "personal" object deleted upon update
-
- Open
-
-
MODUIMP-76 mod-user-import not respecting updateOnlyPresentFields with custom fields or email address
-
- Open
-