File attachment deleted prematurely if shared by two activities
View options
- Truncate descriptions
I'm not sure when this happened but happens in 5.82 too.
- Create an activity with two target contacts.
- An option will appear below the With Contact field. Choose the option to make separate activities.
- Add an attachment.
- Save.
- Edit one of the created activities and click the trash can icon to delete the attachment. The file/entity_file records are ok but the physical file has been deleted from the filesystem.
- View the other created activity and try to download the file from it. You get an error because the file has been deleted.
Edit: It seems pretty old, but what's happening is it's not creating the file/entity_file records correctly in the first place. It's creating a duplicate file record but with the same file uri.
- Show labels
- Show closed items