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

Item6869: TWikiDrawPlugin does not save changes

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension TWikiDrawPlugin Normal Closed   patch 5.1.2

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

TWikiDrawPlugin does not save changes. Attached .draw, gif and map files are not updated. Symptoms same using browsers firefox 3.6 and Safari 5.1 on mac OS and IE 8 and firefox 11 on Windows 7 64 bit

-- TWiki:Main/GeorgeTrubisky - 2012-04-17

Not sure. What is the server OS? This might be a TWiki:Support question. Look at the Apache access log and error log. Try to add debug statements in lib/TWiki/UI/Upload.pm.

-- TWiki:Main.PeterThoeny - 2012-04-18

Server OS where problem issue experienced is twiki.org. For example, try editing the drawing in topic TWiki:Codev.ReleaseManagementProcess

-- TWiki:Main.GeorgeTrubisky - 2012-05-13

Investigated and confirmed. This is a bug that was introduced in TWiki-5.1.1 by Item6832, and was fixed by Item6854 on 2012-04-03.

Patch by Item6854:

--- Upload.pm.save2   2012-01-14 00:39:42.000000000 -0500
+++ Upload.pm   2012-05-15 15:07:24.000000000 -0400
@@ -227,7 +227,6 @@
     # below - @upload_objs are array of TWiki::Request::Upload objects
 
     my @fileNames = grep { defined $query->{uploads}{$_} }
-      map { s/.*[\/\\]//; $_ }
       map { $query->param("filepath$_") } ( '', 1 .. 9 );
     my @upload_objs = @{ $query->{uploads} }{@fileNames};
 

I patched TWiki.org, now OK with draw plugin.

-- TWiki:Main.PeterThoeny - 2012-05-15

Thanks Peter

-- TWiki:Main.GeorgeTrubisky - 2012-05-25

ItemTemplate
Summary TWikiDrawPlugin does not save changes
ReportedBy TWiki:Main.GeorgeTrubisky
Codebase 5.1.1
SVN Range

AppliesTo Extension
Component TWikiDrawPlugin
Priority Normal
CurrentState Closed
WaitingFor

Checkins

TargetRelease patch
ReleasedIn 5.1.2
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r8 - 2013-02-16 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback