Item1707: Deleting attachments in NAT and QUICKMENU do not work
Priority: Urgent
Current State: Closed
Released In: 1.0.6, 1.1.0
Target Release: patch
Applies To: Engine
Component: templates
Branches:
When clicking on Manage Attachments, the selecting your file and clicking on the trash can it gives me this url:
https://server/foswiki/bin/rename/WEB/TopicName?web=Trash&template=renameattachmentdelete&attachment=Firefox-User-Agent.rtf
Currently Shows a white/blank screen. No errors in apache logs or data/*.txt
When adding &skin=pattern to url:
https://server/foswiki/bin/rename/WEB/TopicName?web=Trash&template=renameattachmentdelete&attachment=Firefox-User-Agent.rtf&skin=pattern
Then I get the form in pattern to move the attachment to trash.
While discussing with MTempest on #foswiki it has been revealed that foswiki/templates directory only has
renameattachmentdelete.pattern.tmpl and no default renameattachmentdelete.tmpl file.
Also there is currently no renameattachmentdelete.nat.tmpl or renameattachmentdelete.quickmenu.tmpl files as well.
TEMPORARY FIX
Copied templates/renameattachmentdelete.pattern.tmpl into the following:
-r--r--r-- 1 apache apache 1534 Jun 10 16:28 renameattachmentdelete.nat.tmpl
-r--r--r-- 1 apache apache 1534 Jun 10 16:30 renameattachmentdelete.quickmenu.tmpl
-r--r--r-- 1 apache apache 1534 Jun 10 16:30 renameattachmentdelete.tmpl
SECONDARY BUG
When using temporary fix above, and moving an attachment to trash, while trying to move that
trashed attachment back to WebNAME/WebHome topic it gave me a blank screen here as well. Possibly
missing another .tmpl file? need to dig more into this to find out what causes blank screen in this
scenario.
If you need further clarification or testing please contact TJCRI in #foswiki
Thanks,
--
TjMaciak
I have a 1.0.6 release that need to go out now.
Are we done with this one?
--
KennethLavrsen - 16 Jun 2009
This change works with
PatternSkin. I have not tried it myself with
NatSkin or
QuickMenuSkin. I can address that after the release if there is a problem.
Changing status to waiting-for-release
--
MichaelTempest - 17 Jun 2009