Skip to content

MDM - Deleting resources when mdm and delete cascade is enabled causes errors #6539

@TipzCM

Description

@TipzCM

Reproduction steps

  • enable MDM
  • enable delete cascade
  • create a single patient (so it has exactly 1 mdm link)
  • create a resource that references this patient in some way
  • delete the patient

Result: error thrown (unable to obtain table lock for deleting mdmlink)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions