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

Item6333: TWikiDrawPlugin does not work in TWiki-4.3.2 if {CryptToken}{Enable} is set

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension TWikiDrawPlugin Normal Closed   n/a  

Edit Form Data

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

Detail

The TWiki:Plugins/TWikiDrawPlugin does not work in TWiki-4.3.2 if {CryptToken}{Enable} configure setting is set.

Workaround: Disable the configure setting.

Fix: The Java applet code needs to be fixed to return the crypt token when submitting data.

-- TWiki:Main/PeterThoeny - 28 Sep 2009

This was reported by a TWiki guest in TWiki:Support/SID-00540

-- TWiki:Main.PeterThoeny - 28 Sep 2009

This requires java code fixing.. modified the code to send "crypttoken" back to the upload script. It sends three post requests for uploading the image... hm.. so image save fails...

-- TWiki:Main.SopanShewale - 07 Oct 2009

fixed the java source code to pass the tokens - some how the java applet sends "three" times upload of the image to TWiki side, thus throws token_expire error.


[Thu Oct 15 08:01:29 2009] [error] [client xxxx] File does not exist: /var/www/trunk/core/pub/Sandbox/TestTopic/mystuff.gif, referer: http://example.net/trunk/bin/view/Sandbox/TestTopic
[Thu Oct 15 08:04:52 2009] [error] [client xxxx] File does not exist: /var/www/trunk/core/pub/Sandbox/TestTopic/mystuff.gif, referer: http://example.net/trunk/bin/oops/Sandbox/TestTopic?template=twikidraw;param1=mystuff
[Thu Oct 15 08:04:59 2009] [error] [client xxxx] File does not exist: /var/www/trunk/core/pub/Sandbox/TestTopic/mystuff.draw
[Thu Oct 15 08:05:21 2009] [error] [client xxxx] File does not exist: /var/www/trunk/core/pub/TWiki/TWikiDrawPlugin/empty.gif, referer: http://example.net/trunk/bin/view/TWiki/TWikiDrawPlugin

-- TWiki:Main.SopanShewale - 15 Oct 2009

The code (java code) has been fixed - verified the functionality on trunk and release branch. Works fine. Bug will be closed after releasing new version of the plugin

Changing state to "Being Worked On"


TWiki:Main.SopanShewale - 22 Oct 2009

The latest Plugin released - closing Bug


TWiki:Main.SopanShewale - 30 Oct 2009

ItemTemplate
Summary TWikiDrawPlugin does not work in TWiki-4.3.2 if {CryptToken}{Enable} is set
ReportedBy TWiki:Main.PeterThoeny
Codebase 4.3.2, ~twiki4
SVN Range TWiki-5.0.0, Sun, 27 Sep 2009, build 18153
AppliesTo Extension
Component TWikiDrawPlugin
Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:18157 TWikirev:18179 TWikirev:18180 TWikirev:18181 TWikirev:18198 TWikirev:18199 TWikirev:18200 TWikirev:18201
TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r12 < r11 < r10 < r9 < r8 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r12 - 2009-10-30 - SopanShewale
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback