You are here: Foswiki>Tasks Web>Item11780 (02 Dec 2012, GeorgeClark)Edit Attach

Item11780: Func::expandCommonVariables should ASSERT if called in initPlugin

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.6
Target Release: patch
Applies To: Engine
Component: Documentation, FoswikiFunc
Branches: Release01x01 trunk
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
FindElsewherePlugin was corrupting other extensions. MichaelDaum discovered that it was calling Foswiki::Func::expandCommonVariables() during initialization. As this function depends upon all plugins being initialized, it causes issues.

  • Document in Func that it should only be called after all plugin initialization has been completed.
  • Add an ASSERT to error if called during initialization.

-- GeorgeClark - 19 Apr 2012

 

ItemTemplate edit

Summary Func::expandCommonVariables should ASSERT if called in initPlugin
ReportedBy GeorgeClark
Codebase 1.1.5, 1.1.5 RC2, 1.1.5 RC1, 1.1.4, trunk
SVN Range
AppliesTo Engine
Component Documentation, FoswikiFunc
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:7c7b03350922 distro:e0f04fa6c573 distro:18718d8f4cb6 distro:a06ffb329990
TargetRelease patch
ReleasedIn 1.1.6
CheckinsOnBranches Release01x01 trunk
trunkCheckins distro:7c7b03350922 distro:e0f04fa6c573
Release01x01Checkins distro:18718d8f4cb6 distro:a06ffb329990
Topic revision: r7 - 02 Dec 2012, 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