Delete Attachments of Articles Afterwards

Infos:

  • Used Zammad version: 4.1.0
  • Used Zammad installation type: (source, package, docker-compose, …): package
  • Operating system: SLES 12.5
  • Browser + version: Version 91.0.4472.124 (Official Build) (64-Bit)

Expected behavior:

Actual behavior:

Steps to reproduce the behavior:

Dear Zammad-Community,

I have just a little question. Is there a builtin way (maybe via Console) to delete Attachments of Articles after posting?

I found myself a possible solution by deleting records in the database directly, but that just doesn’t feel right.

Best Regards
Dennis

1 Like

Removing attachments is not supported by the core natively.
The main issue is the way that Zammad works with attachments:

Zammad recognizes existing attachments by their checksum and saves affected files once only.
While this saves storage it also means that removing files no longer is trivial.

Imho your “removal via database” potentially leaves references within the system that may give you a hard time in the future. Really, don’t do it.

This is rather a feature request right now.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.