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

In out Motorola TWiki just updated to SVN 8564 the TWikiDraw Plugin has stopped working

If I put a %DRAWING{"somename"}% in a topic the applet button is shown.

I then click on it and make a quick drawing and save it.

A gif file and a draw file is now attached to the topic but the entire topic is empty.

ALL text is deleted from the topic.

Since the plugin as far as I can see is not updated this is a bug in the engine.


Small update. I cannot reproduce it at home. I will try and login Saturday and try again after a SVN update.

I remembered that when I entered the DRAWING tag again and with the same filename it did not show the drawing. This is normally the case. You can copy the gif and draw files from another topic by attaching them first and then edit the topic and add the DRAWING tag. But this did not work either. It showed the applet button like it was a new drawing waiting to be created. So this is before the jar file is loaded.

I also need to test if the problem is browser related. I doubt.


Can't reproduce this, but added a pattern template to the twikidrawplugin in the process.

SVN 8569/8570.

-- SP

Note that the TWikiDrawPlugin does not touch the topic directly. The only thing it does is to add attachments, using the REST interface to the upload script. Since attachments meta data is written into the topic, then it is feasible that an error in Store might clear the topic; but that code has been untouched for months. Can you examine the topic.txt file on disc and establish what is in it? Is there any chance another plugin might have done the dirty?


This is really nasty.

I sit here at Motorola with my updated SVN Dakar and each time I edit a topic which uses DRAWING and save it the entire topic is deleted.

I will try and see if some plugin is interfering. But this is nasty.



The error is triggered by the combination of TWikiDrawPlugin and RevCommentPlugin.

When I disable the RevCommentPlugin the drawing gets saved correctly.

When the RevCommentPlugin is enabled this is the exact failure mode.

  • When you have a topic with a drawing all works. You see the drawing and you can click on the drawing.
  • When you click the drawing you get the correct drawing loaded in the applet and can edit it.
  • When you save it looks fine seen from the plugin but you end up with a totally blank topic.
  • The saved drawing and gif files are both 0 length completely empty files.

The topic text looks like this after the save (example where I have tried a couple of times)

The error I get in the Apache log

[Mon Jan 30 17:36:40 2006] [error] [client] File does not exist: /var/www/dakar/pub/wikiHome.gif, referer:;param1=Nummerto
[Mon Jan 30 17:37:25 2006] [error] [client] ********************************
[Mon Jan 30 17:37:25 2006] [error] [client] OopsException(attention/zero_size_upload web=>Sandbox topic=>TestTopic1 params=>Nummerto.map)
[Mon Jan 30 17:37:25 2006] [error] [client] ******************************** 

I have changed the bug report to address RevCommentPlugin and lowered the severity to normal.


Item2097 / SVN 9810 9813 fixes this bug. smile


Summary TWikiDrawPlugin in combination with RevCommentPlugin deletes entire topic when saving drawing
ReportedBy TWiki:Main.KennethLavrsen

SVN Range Fri, 27 Jan 2006 build 8562
AppliesTo Extension
Component RevCommentPlugin
Priority Normal
CurrentState Closed

Checkins 8569 8570
TargetRelease n/a
Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatdraw Hello.draw r1 manage 0.1 K 2006-01-30 - 16:18 UnknownUser TWiki Draw draw file
GIFgif Hello.gif r1 manage 0.1 K 2006-01-30 - 16:18 UnknownUser TWiki Draw GIF file
Unknown file formatdraw Nummerto.draw r3 r2 r1 manage 0.1 K 2006-01-30 - 16:37 UnknownUser TWiki Draw draw file
GIFgif Nummerto.gif r3 r2 r1 manage 0.7 K 2006-01-30 - 16:37 UnknownUser TWiki Draw GIF file
Unknown file formatdraw Testpic.draw r1 manage 0.1 K 2006-01-30 - 16:22 UnknownUser TWiki Draw draw file
GIFgif Testpic.gif r1 manage 0.1 K 2006-01-30 - 16:22 UnknownUser TWiki Draw GIF file
Topic revision: r1 - 2006-01-30 - KennethLavrsen
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