• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item7519: Upload script may create a phantom attachment

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Closed   patch 6.0.1

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


If you have a custom HTML form dealing with attachments, or there is a bug in the Attach page, you may try to change properties of a nonexistent file. For example, the following form can cause that situation.

<form method="post" action="%SCRIPTURL{upload}%/%WEB%/%TOPIC%">
|  File:| <input name="filename"> |
|  Comment:| <input name="filecomment"> |
<input type="submit" name="changeproperties" value="Change comment and properties only">

The above form can cause the following attachment list:

I Attachment History Action Size Date Who Comment
Text foo.txt   manage 0.1 K 1970-01-01 - 00:00 UnkownUser foo

This usually doesn't happen. But may happen. And you need to manually edit the topic file to remove the phantom attachment.

-- TWiki:Main/HideyoImazu - 2014-06-17

Summary Upload script may create a phantom attachment
ReportedBy TWiki:Main.HideyoImazu
Codebase ~twiki4, 6.0.0
SVN Range TWiki-6.0.1-trunk, Sun, 15 Jun 2014, build 27651
AppliesTo Engine

Priority Normal
CurrentState Closed

Checkins TWikirev:27656 TWikirev:27657
TargetRelease patch
ReleasedIn 6.0.1
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r6 - 2014-10-06 - PeterThoeny
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback