Skip to content

DELETE on entities with Attachments composition fails when no SDM service is bound #266

Description

@lukasfitz98

Hi,

In version 1.10.0, when deleting an entity that has a Composition of many Attachments (from @cap-js/sdm), the operation fails with a 500 error in environments where no SDM service instance is bound in our case this happens when we try to execute our unit tests locally or in our GitHub workflows.
The SDM plugin's attachDeletionData handler unconditionally attempts to connect to the SDM service to clean up document folders — even when no SDM credentials are available and no actual attachments exist in SDM.

This worked in version 1.9.1

Are you able to support here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions