Issue Bug Closed

#84064File-References of flexforms are not removed when record is deleted

Peter Rauber 02/27/18, 13:32 updated 05/21/25, 13:58

Description

Steps to reproduce:
  1. Create a custom content element with a file-reference-field (inline) inside a flexform
  2. Create a record for the new content element and add an image in the flexform-field
  3. Save
  4. Delete the content element record
Expected behaviour:
  • the sys_file_reference record pointing to the record is deleted (flagged as deleted), too
Actual behaviour:
  • the sys_file_reference record still remains, also the reference is shown when listing the references of the file in fileadmin

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.