Bug: Save hangs when using TOC forth and back between two topics
When including a TOC from another Topic, and then include back the parent topiclist, Twiki hangs on save. Viewauth takes most of the cpu time.
The apache log shows the following error:
[Tue Feb 22 22:01:41 2005] viewauth: Deep recursion on subroutine "TWiki::handleToc" at ../lib/TWiki.pm line 3160.
[Tue Feb 22 22:01:41 2005] viewauth: Deep recursion on subroutine "TWiki::handleToc" at ../lib/TWiki.pm line 3160.
[Tue Feb 22 22:01:54 2005] view: Scalar value @_[0] better written as $_[0] at ../lib/TWiki/Plugins/XpTrackerPlugin.pm line 176.
[Tue Feb 22 22:01:58 2005] viewauth: Scalar value @_[0] better written as $_[0] at ../lib/TWiki/Plugins/XpTrackerPlugin.pm line 176.
[Tue Feb 22 22:02:33 2005] viewauth: Deep recursion on subroutine "TWiki::handleCommonTags" at ../lib/TWiki.pm line 2454.
[Tue Feb 22 22:02:33 2005] viewauth: Deep recursion on subroutine "TWiki::handleToc" at ../lib/TWiki.pm line 3161.
[Tue Feb 22 22:02:33 2005] viewauth: Deep recursion on subroutine "TWiki::handleCommonTags" at ../lib/TWiki.pm line 2454.
[Tue Feb 22 22:02:33 2005] viewauth: Deep recursion on subroutine "TWiki::handleToc" at ../lib/TWiki.pm line 3161.
[Tue Feb 22 22:02:33 2005] viewauth: Deep recursion on subroutine "TWiki::handleCommonTags" at ../lib/TWiki.pm line 2454.
[Tue Feb 22 22:02:34 2005] viewauth: Deep recursion on subroutine "TWiki::handleToc" at ../lib/TWiki.pm line 3160.
Note: This Bug was also asked in support:
SaveHangUsingTOC
Test case
See testcase in
SaveHangUsingTOC.
Note: In the testcase, i disabled the last TOC in
SaveHangUsingTOCHeadOne
%TOC{"SaveHangUsingTOC"}% to avoid the hangup. (which can be reproduced on twiki.org)
Environment
--
WolfgangAlper - 23 Feb 2005
Impact and Available Solutions
Follow up
Fix record
Discussion