Item1730: initPlugin does not get the $installWeb if $NO_PREFS_IN_TOPIC = 1

Priority: Urgent
Current State: Closed
Released In: 1.0.6
Target Release: patch
Applies To: Engine
Component:
Reported By: KennethLavrsen
Waiting For: Main.KennethLavrsen
Last Change By: KennethLavrsen
initPlugin does not get the $installWeb if $NO_PREFS_IN_TOPIC = 1

instead an undef is passed on to the plugin making some plugins fail.

The problem was solved during Crawford's refactoring in trunk.

But the problem is still in release branch.

It is one code line to fix it. This bug has been in Foswiki since 1.0.0 and was introduced in the Foswiki code in November last year.

I am checking in the fix

-- KennethLavrsen - 16 Jun 2009

ItemTemplate edit

Summary initPlugin does not get the $installWeb if $NO_PREFS_IN_TOPIC = 1
ReportedBy KennethLavrsen
Codebase 1.0.5
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Engine
Component
Priority Urgent
CurrentState Closed
WaitingFor KennethLavrsen
Checkins distro:2f31803969c2
TargetRelease patch
ReleasedIn 1.0.6
Topic revision: r3 - 22 Jun 2009, KennethLavrsen
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License