Item13257: Document other handlers NOT to use expandCommonVariables
Priority: Low
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Engine
Component: Documentation,
FoswikiFunc
Branches: master
The documentation for Foswiki::Func::expandCommonVariables() says not to use it in an initPlugin handler, but it will cause problems in other handlers as well. Specifically I've found that if you try and use it in beforeCommonTagsHandler, you end up in an infinite loop. I'd bet this also applies to many of the other handlers as well, so long as the plugin is doing any macro processing other than using expand...
--
JohnKnutson - 11 Feb 2015
Thanks for the feedback. Updated docs will be in Foswiki 1.2
--
GeorgeClark - 19 Feb 2015