• 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.

Item3488: Autoattaching a single file does not work

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Urgent Closed   patch 4.1.1

Edit Form Data

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


The code in this area is in a rather mess. Bad formatting, lots of debug code left over, it it performs very badly unnecessarily checking tons of topics and directories, and last not least it simply does not work as it should:

How to check:

  1. create a topic Sandbox.MyAutoattachment
  2. create a file called 20070112.log and move it into the .../twiki/pub/Sandbox/MyAutoattachments directory
  3. enable the AutoAttachPubFiles feature
  4. visit Sandbox.MyAutoattachments using your browser
  5. see if it appears as attachments ... which it doesn't

I presume that this bug is present in all TWiki-4.x as nothing has changed in that area recently.


Fixed in MAIN, but not in Patch04x01 as I don't have write access there.


Thanks for the fix.

That is odd. Everyone should have access to Patch04x01.

Was this bug item open when you tried?


I did the merge so we do not forget.

If someone actually have added a write restriction to Patch04x01 then please remove it. We do not need that. My guess is that the bug item had been put in waiting for release when you tried Micha.


Fix for Download

A quick fix is available for those that just installed TWiki 4.1.0. It will be in release 4.1.1 which is due soon

-- TWiki:Main.KennethLavrsen - 23 Jan 2007

Summary Autoattaching a single file does not work
ReportedBy TWiki:Main.MichaelDaum
Codebase 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.5, 4.1.0, ~twiki4
SVN Range TWiki-4.1.0, Mon, 15 Jan 2007, build 12567
AppliesTo Engine

Priority Urgent
CurrentState Closed

Checkins 12594 12596
TargetRelease patch
ReleasedIn 4.1.1
Topic attachments
I Attachment History Action Size Date Who Comment
Perl source code filepm Store.pm r1 manage 64.3 K 2007-01-23 - 23:28 UnknownUser Replacement lib/TWiki/Store.pm for 4.1.0
Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r10 - 2007-02-05 - JasonHill
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