Dereference an attachment without deleting the file
| Project: | Attachment |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
When you have a node with attachments and you want to translate it, the edit form for the translation gets prefilled with the attachments of the 'original' node, or rather their references.
The translations, though, may have attachments in different languages too. So you need to be able to replace them with other attachments. But you only have the option to delete the attachment referenced with its file, which causes the attachment reference in the original node to break, because the file was deleted.
I think there's a need to provide an option like "dereference" or "unlink" that removes the db reference of an attachment from a node, without deleting the physical file.
Maybe I've overlooked something, but this is critical especially within a translation workflow.
