create new tag
, view all tags

SID-02273: Deleted attachments are still visible

Status: Answered Answered TWiki version: 6.0.0 Perl version: v5.10.0
Category: CategoryAttachments Server OS: Suse Linux Enterprise Server 11 SP1 Last update: 10 months ago

Although the attachments were deleted, they are still visible in the table of the attachments at the end of the topic. Which action is necessary to clear the table of attachements from the deleted one and who can do this action?

-- Peter Starek - 2016-10-27

Discussion and Answer

If you delete an attachment via the GUI ("more topics actions" screen) it will be moved to the TashAttachement topic in the Trash web, e.g. it will no longer show in the topic's attachment table.

If you delete an attachment on the file level, the attachment meta data such as %META:FILEATTACHMENT{name="file.doc" ... }% still remains in the topic. You could edit the topic text directly in the shell, but that way the version history of the topic would get out of sync.

-- Peter Thoeny - 2016-10-27

The attachment was deleted via the GUI ("more topics actions" screen) because I have no other way to do it, but it is still showed in the topic's attachment table.

-- Peter Starek - 2016-10-27

Maybe there was something going wrong because I had to delete 10 or more attachments and I opened each attachment in a separate tab of my browser and then I clicked on "delete" in every tab, not waiting that the action in one tab has ended.

-- Peter Starek - 2016-10-27

Ah that can explain it if you delete simultaneously in parallel windows. To fix, edit the file on the shell level and delete the extra META:FILEATTACHMENT, then edit & save the topic in the browser to bump up the topic revision.

-- Peter Thoeny - 2017-03-19

It has worked as you wrote it. Thanks a lot.

-- Peter Starek - 2017-03-22

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Status Answered
Title Deleted attachments are still visible
SupportCategory CategoryAttachments
TWiki version 6.0.0
Server OS Suse Linux Enterprise Server 11 SP1
Web server Apache httpd 2.2.10
Perl version v5.10.0
Browser & version Firefox 49.0.1
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2017-03-22 - PeterStarek
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.