Repository navigation
Releases
Releases · cap-java/sdm
Version 1.10.4 - 2026-09-30
Fixed
- Fix copied attachments throwing
not_scannederror when opened. AfternewDraftinserts copied records via the draft service, a follow-up persistence update now writesstatus = 'Clean'andscannedAtdirectly to the draft table, bypassing@readonlyenforcement that was stripping these fields and causing HANA to apply the defaultUnscannedstatus.
Version 1.10.3 - 2026-09-11
Fixed
- Fix attachment upload and path resolution for deeply nested entity compositions where attachments belong to entities that are not direct children of the root entity.
buildEntityPathandbuildActualPathinAttachmentsHandlerUtilsnow use the full attachment path for uniqueness and recursively traverse compositions viafindPathToEntityto build the correct actual path.
Version 1.10.2 - 2026-08-21
Fixed
- Fix element does not exist error when querying attachments on non-draft entities. Queries in getAttachmentsForUPID, getAttachmentsForUPIDAndRepository, and getAttachmentsForFolder now conditionally include the IsActiveEntity column only when the field is present on the attachment entity.
- Fix Invalid CQN: Element 'SDM_READONLY_CONTEXT.uploadStatus' does not exist error during draftActivate on deeply nested entities (5+ levels deep or entities with many compositions). The internal SDM_READONLY_CONTEXT wrapper key used to preserve uploadStatus across handler phases was being removed using plain Map.values() traversal, which cannot traverse all composition data in deeply nested CDS structures. The removal now uses CdsDataProcessor (the same model-driven traversal used when setting the key), ensuring the wrapper is correctly cleaned up regardless of entity depth or breadth.
- Fix NoSuchElementException in revertLinksForComposition by safely unwrapping Optional when looking up draft and active entities in the CDS model
- Skip credential fetch and SDM revert call when no draft links are found, avoiding unnecessary processing
Version 1.9.4 - 2026-08-13
Fixed
- Fix
element does not existerror when querying attachments on non-draft entities. Queries ingetAttachmentsForUPID,getAttachmentsForUPIDAndRepository, andgetAttachmentsForFoldernow conditionally include theIsActiveEntitycolumn only when the field is present on the attachment entity.
Version 1.9.3 - 2026-08-11
Fixed
- Fix
Invalid CQN: Element 'SDM_READONLY_CONTEXT.uploadStatus' does not existerror duringdraftActivateon deeply nested entities (5+ levels deep or entities with many compositions). The internalSDM_READONLY_CONTEXTwrapper key used to preserveuploadStatusacross handler phases was being removed using plainMap.values()traversal, which cannot traverse all composition data in deeply nested CDS structures. The removal now usesCdsDataProcessor(the same model-driven traversal used when setting the key), ensuring the wrapper is correctly cleaned up regardless of entity depth or breadth.
Version 1.9.2 - 2026-07-23
Fixed
- Fix NoSuchElementException in revertLinksForComposition by safely unwrapping Optional when looking up draft and active entities in the CDS model
- Skip credential fetch and SDM revert call when no draft links are found, avoiding unnecessary processing
Version 1.9.1 - 2026-07-16
Fixed
- Fix issue in discarding newly created entities which has multi-level of nested children
Version 1.10.1 - 2026-07-13
Fixed
- User-defined error message not displayed when maximum attachment upload limit is exceeded
- Fix issue in discarding newly created entities which has multi-level of nested children
- Fix populateUploadableFlags breaks reads on non-draft services
Version 1.10.0 - 2026-06-11
Added
- Support download multiple attachments
- Support disabling of upload button when maximum allowed attachments count is reached
Fixed
- Localization for attachment reference fields
- Service binding lookup to correctly resolve SDM bindings by tags
- Technical user detection in the delete API to align with other API implementations
- File extension change during attachment rename
- Copying of invalid secondary properties during copy operation
Version 1.9.0 - 2026-04-10
Added
- Support attachment creation in active entities
Fixed
-
Separate UI and backend error keys for localization
-
Fix upload status when attachments are copied