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

Item3793: twiki site broken when using MAKETEXT in TWikiPreferences

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension SectionalEditPlugin Normal New   n/a  

Edit Form Data

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

Detail

Adding %MAKETEXT{"edit"}% to TWikiPreferences breaks the entire twiki site. I was using the MAKETEXT in a plugin variable.

The only way out was to go on the server and edit the text file. Every single topic (view,edit...) would return a blank page with:

Software error:

Can't call method "maketext" on an undefined value at /srv/www/twiki/lib/TWiki.pm line 3426.

For help, please send mail to the webmaster (webmaster@localhost), giving this error message and the time and date of the error. 

-- TWiki:Main/StephaneLenclud - 20 Mar 2007

Stephane, you're going to need to give more specific info - I spent a little time, and the example's and configs I used worked fine.

basically, repeatable steps, so that the fixer does not have to spend too much time trying to figure out how to make it happen, or worse, if what they are fixing is the same issue you have, or one that looks similar..

-- TWiki:Main.SvenDowideit - 23 Mar 2007

Sven, sorry for the vagueness of the report. All I did was adding the following line to Main.TWikiPreferences.

   * Set SECTIONALEDITPLUGIN_LABEL = %MAKETEXT{"edit"}%

Of course I have TWiki:Plugins.SectionalEditPlugin installed but I would think it was not related to that plug-in. Maybe I'm wrong though smile

-- TWiki:Main.StephaneLenclud - 26 Mar 2007

I can't reproduce this either, and it looks highly likely to be a plugin problem, so I'm marking it as against SectionalEditPlugin until evidence shows it's in the core.

CC

ItemTemplate
Summary twiki site broken when using MAKETEXT in TWikiPreferences
ReportedBy TWiki:Main.StephaneLenclud
Codebase 4.1.2
SVN Range TWiki-4.1.2, Sat, 17 Mar 2007, build 13167
AppliesTo Extension
Component SectionalEditPlugin
Priority Normal
CurrentState New
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2007-04-15 - CrawfordCurrie
 
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