You are here: Foswiki>Tasks Web>Item3793 (25 Sep 2016, GeorgeClark)Edit Attach

Item3793: twiki site broken when using MAKETEXT in Main.TWikiPreferences

pencil
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: SectionalEditPlugin
Branches:
Reported By: TWiki:Main.StephaneLenclud
Waiting For:
Last Change By: GeorgeClark
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


Extension never released for Foswiki. Reports don't indicate it was recreated. Changing to "No Action".

-- Main.GeorgeClark - 25 Sep 2016 - 18:50

ItemTemplate edit

Summary twiki site broken when using MAKETEXT in TWikiPreferences
ReportedBy TWiki:Main.StephaneLenclud
Codebase
SVN Range TWiki-4.1.2, Sat, 17 Mar 2007, build 13167
AppliesTo Extension
Component SectionalEditPlugin
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic revision: r8 - 25 Sep 2016, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy