Question
I recieve the following errors in error.log when a new Ldap user signs in for the first time. I use the
LdapContrib and
NewUserPlugin to generate their wiki name and page. Their browser just sits and spins so to speak... They can log in fine with
ActionTrackerPlugin disabled.
[Wed Sep 26 11:13:40 2007] view: Deep recursion on subroutine "TWiki::Plugins::_dispatch" at /var/www/twiki/lib/TWiki/Plugins.pm line 649.
[Wed Sep 26 11:13:40 2007] view: Deep recursion on subroutine "TWiki::Plugin::invoke" at /var/www/twiki/lib/TWiki/Plugins.pm line 333.
[Wed Sep 26 11:13:40 2007] view: Deep recursion on subroutine "TWiki::handleCommonTags" at /var/www/twiki/lib/TWiki/Func.pm line 1599.
[Wed Sep 26 11:13:40 2007] view: Deep recursion on subroutine "TWiki::Plugins::beforeCommonTagsHandler" at /var/www/twiki/lib/TWiki.pm line 2586.
[Wed Sep 26 11:13:40 2007] view: Deep recursion on subroutine "TWiki::Plugins::NewUserPlugin::beforeCommonTagsHandler" at /var/www/twiki/lib/TWiki/Plugin.pm line 245.
[Wed Sep 26 11:13:40 2007] view: Deep recursion on subroutine "TWiki::Plugins::NewUserPlugin::createUserTopic" at /var/www/twiki/lib/TWiki/Plugins/NewUserPlugin.pm line 66.
[Wed Sep 26 11:13:40 2007] view: Deep recursion on subroutine "TWiki::Func::saveTopicText" at /var/www/twiki/lib/TWiki/Plugins/NewUserPlugin.pm line 116.
[Wed Sep 26 11:13:40 2007] view: Deep recursion on subroutine "TWiki::Store::saveTopic" at /var/www/twiki/lib/TWiki/Func.pm line 1052.
[Wed Sep 26 11:13:40 2007] view: Deep recursion on subroutine "TWiki::Plugins::beforeSaveHandler" at /var/www/twiki/lib/TWiki/Store.pm line 870.
[Wed Sep 26 11:13:41 2007] view: Deep recursion on subroutine "TWiki::Plugins::ActionTrackerPlugin::beforeSaveHandler" at /var/www/twiki/lib/TWiki/Plugin.pm line 245.
[Wed Sep 26 11:13:41 2007] view: Deep recursion on subroutine "TWiki::Plugins::ActionTrackerPlugin::_lazyInit" at /var/www/twiki/lib/TWiki/Plugins/ActionTrackerPlugin.pm line 342.
[Wed Sep 26 11:13:41 2007] view: Deep recursion on subroutine "TWiki::Plugins::ActionTrackerPlugin::Options::load" at /var/www/twiki/lib/TWiki/Plugins/ActionTrackerPlugin.pm line 474.
[Wed Sep 26 11:13:41 2007] view: Deep recursion on subroutine "TWiki::Func::expandCommonVariables" at /var/www/twiki/lib/TWiki/Plugins/ActionTrackerPlugin/Options.pm line 42.
Environment
--
DouglasWoodgate - 26 Sep 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
i don't think this is anything to do with the action tracker, but it's hard to tell with that small fragment of the error log. It's possible that the
NewUserPlugin is calling something it shouldn't be calling during user initialisation, I suppose.
--
CrawfordCurrie - 07 Oct 2007
Thanks for the error log. It shows exactly where the deep recursion occurs.
This is an error in the NewUserPlugin -
Bugs:Item4880
.
However, this occurs only when installing it together with the ActionTrackerPlugin as it calls
expandCommonVariables from within its
beforeSaveHandler while loading options, even if the ATP isn't used in the current topic.
The NewUserPlugin v1.01 will work around and fix the deep recursion.
--
MichaelDaum - 23 Oct 2007