Tags:
create new tag
view all tags

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

TWiki version: 4.1.2
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin, NewUserPlugin, LdapContrib, NatSkinPlugin, ActionTrackerPlugin
Server OS: CentOS 5
Web server: Apache 2.2.3
Perl version: v5.8.8 built for i386-linux-thread-multi
Client OS: All
Web Browser: All
Categories: Authentication, Plugins

-- DouglasWoodgate - 26 Sep 2007

Answer

ALERT! 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

Change status to:
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2007-10-23 - MichaelDaum
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.