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