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

Item5007: WysiwygPlugin has varying problems with attachments

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension KupuContrib Normal No Action Required TWiki:Main.DarrenGamble n/a  

Edit Form Data

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

Detail

This is a fresh install of TWiki 4.1.2, Apache 2.0.55, Ubuntu 6.06. Installation is default parameters, other than enabling the WysiwygPlugin. We're evaluating a Wiki for nontechnical users to use.

I noted some issues using the Wysiwyg editor.

Attempting to attach a file with a nonstandard character causes an Internal Server Error. The file does get properly uploaded and has its filename translated, although the editor seems blissfully unaware of this. One can then go in and manually update the link via the regular editor to get it working. The Apache error log is available if desired, but I'm guessing it's not needed.

Additionally,

Uploading a properly-named file via the WYSIWYG editor causes the following to appear in the editor's debug window:

<>TWiki detected an internal error - please check your TWiki logs and webserver logs for more information.>
<>>
<>ERROR: http:path>

... although everything otherwise appears to work perfectly. Here's the apache error log for the operation. No useful error message (to me):

[Thu Nov 22 16:58:11 2007] [error] [client 10.187.228.20] ERROR: http://dgamble.rsc.eng.shaw.ca/twiki/bin/view/Sandbox/DarrenTest at /usr/share/perl/5.8/CGI/Carp.pm line 314., referer: http://dgamble.rsc.eng.shaw.ca/twiki/bin/edit/Sandbox/DarrenTest?cover=kupu&t=1195775849
[Thu Nov 22 16:58:11 2007] [error] [client 10.187.228.20] at /usr/share/perl/5.8/CGI/Carp.pm line 314, referer: http://dgamble.rsc.eng.shaw.ca/twiki/bin/edit/Sandbox/DarrenTest?cover=kupu&t=1195775849
[Thu Nov 22 16:58:11 2007] [error] [client 10.187.228.20] \tCGI::Carp::realdie('ERROR: http://dgamble.rsc.eng.shaw.ca/twiki/bin/view/Sandbox/...') called at /usr/share/perl/5.8/CGI/Carp.pm line 385, referer: http://dgamble.rsc.eng.shaw.ca/twiki/bin/edit/Sandbox/DarrenTest?cover=kupu&t=1195775849
[Thu Nov 22 16:58:11 2007] [error] [client 10.187.228.20] \tCGI::Carp::die('ERROR: http://dgamble.rsc.eng.shaw.ca/twiki/bin/view/Sandbox/...') called at /var/www/twiki/lib/TWiki.pm line 721, referer: http://dgamble.rsc.eng.shaw.ca/twiki/bin/edit/Sandbox/DarrenTest?cover=kupu&t=1195775849
[Thu Nov 22 16:58:11 2007] [error] [client 10.187.228.20] \tTWiki::redirect('TWiki=HASH(0x7d5350)', 'http://dgamble.rsc.eng.shaw.ca/twiki/bin/view/Sandbox/DarrenTest') called at /var/www/twiki/lib/TWiki/UI/Upload.pm line 242, referer: http://dgamble.rsc.eng.shaw.ca/twiki/bin/edit/Sandbox/DarrenTest?cover=kupu&t=1195775849
[Thu Nov 22 16:58:11 2007] [error] [client 10.187.228.20] \tTWiki::UI::Upload::upload('TWiki=HASH(0x7d5350)') called at /var/www/twiki/lib/TWiki/UI.pm line 159, referer: http://dgamble.rsc.eng.shaw.ca/twiki/bin/edit/Sandbox/DarrenTest?cover=kupu&t=1195775849
[Thu Nov 22 16:58:11 2007] [error] [client 10.187.228.20] \tTWiki::UI::__ANON__() called at /var/www/twiki/lib/CPAN/lib//Error.pm line 379, referer: http://dgamble.rsc.eng.shaw.ca/twiki/bin/edit/Sandbox/DarrenTest?cover=kupu&t=1195775849
[Thu Nov 22 16:58:11 2007] [error] [client 10.187.228.20] \teval {...} called at /var/www/twiki/lib/CPAN/lib//Error.pm line 371, referer: http://dgamble.rsc.eng.shaw.ca/twiki/bin/edit/Sandbox/DarrenTest?cover=kupu&t=1195775849
[Thu Nov 22 16:58:11 2007] [error] [client 10.187.228.20] \tError::subs::try('CODE(0x5043f0)', 'HASH(0x15df800)') called at /var/www/twiki/lib/TWiki/UI.pm line 199, referer: http://dgamble.rsc.eng.shaw.ca/twiki/bin/edit/Sandbox/DarrenTest?cover=kupu&t=1195775849
[Thu Nov 22 16:58:11 2007] [error] [client 10.187.228.20] \tTWiki::UI::run('CODE(0x7c4b00)') called, referer: http://dgamble.rsc.eng.shaw.ca/twiki/bin/edit/Sandbox/DarrenTest?cover=kupu&t=1195775849
 

Need any more information?

-- TWiki:Main/DarrenGamble - 22 Nov 2007

Please upgrade WysiwygPlugin and install TinyMCEPlugin in place of Kupu. You will find it is significantly more robust/useable. These problems are (I believe) specific to Kupu.

CC

I'll give it a go and let you know. Thanks for the info.

Is there any demand to get this fixed, anyway? Other than this minor detail, I was quite pleased with how well it worked.

-- TWiki:Main.DarrenGamble - 23 Nov 2007

Not much. Generally people seem to prefer TinyMCE, and from my point of view it's a lot easier to work with. At some point I'll get around to obsoleting Kupu completely.

-- TWiki:Main.CrawfordCurrie - 23 Nov 2007

I am no longer supporting the KupuContrib. Please use the TinyMCEPlugin instead.

-- CrawfordCurrie - 05 Aug 2008

ItemTemplate
Summary WysiwygPlugin has varying problems with attachments
ReportedBy TWiki:Main.DarrenGamble
Codebase 4.1.2
SVN Range TWiki-4.3.0, Thu, 15 Nov 2007, build 15610
AppliesTo Extension
Component KupuContrib
Priority Normal
CurrentState No Action Required
WaitingFor TWiki:Main.DarrenGamble
Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r6 - 2008-08-06 - CrawfordCurrie
 
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