This question about Topic Markup Language and applications: Answered

Attachment table issues when copying a topic

When I copy a topic,

Normally, I can delete attachments (it wont allow it this time, as it states : "attachment does not exist" but it visibly does.

1 Is it possible to delete the attachments?
2 Is it possible to do a 'bulk delete' on multiple attachments?
3 Is it possible to not include the attachments when copying a topic?


Please advise.

Found this question (unanswered) that is similar to my question:

Question824

-- TracyMaloney - 06 Sep 2023

Hi Tracy,

bulk deleting attachments is available via Extensions.TopicInteractionPlugin

More fine-grained control of which parts to copy is available using Extensions.CopyContrib

Note that there was a bug fixed in Foswiki-2.1.8 with regards to the way attachment names have been sanitized. There is a regular expression in LocalSite.cfg or via bin/configure that changed during recent patch releases, called $Foswiki::cfg{AttachmentNameFilter} and $Foswiki::cfg{AttachmentNameFilter}. Please make sure that these are set to the standard values (by clicking on "reset" in bin/configure). Could be that the attachment causing problems has been uploaded with an earlier version of Foswiki and thus wasn't sanitized correctly.

-- MichaelDaum - 07 Sep 2023
 

QuestionForm edit

Subject Topic Markup Language and applications
Extension
Version Foswiki 2.1.8
Status Answered
Related Topics
Topic revision: r2 - 07 Sep 2023, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy