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

Item12228: Accessing selected topic with raw=on causes deep recursion errors

Priority: Urgent
Current State: Closed
Released In: 1.1.6
Target Release: patch
Applies To: Engine
Component: FoswikiMeta
Branches: Release01x01 trunk
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
Found on logs after 1.1.6_001 upgrade.

See attached log

-- GeorgeClark - 06 Nov 2012

It appears to be some issue with the FoswikiReleaseForm. I downloaded the topic files for the failing topic, but it viewed okay locally. Then downloaded the FoswikiReleaseForm and the recursion problem was recreated.

There is a search in the FoswikiReleaseForm, that seems to be the trigger:

%SEARCH{"'FoswikiReleaseForm'" type="query" order="formfield(Release)" limit="1" reverse="on" nonoise="on" format="$percntCALC{$EVAL(1 + $formfield(ReleasePatch? ))}$percnt"}%

I've NOP'd out the search in the download web to prevent further errors on

-- GeorgeClark - 06 Nov 2012

To recreate

-- GeorgeClark - 06 Nov 2012

I've fixed this in 1.1.6 and trunk - hopefully the unit test i added to trunk is enough, though it is a kludge.

-- SvenDowideit - 07 Nov 2012


ItemTemplate edit

Summary Accessing selected topic with raw=on causes deep recursion errors
ReportedBy GeorgeClark
Codebase 1.1.6 dev, trunk
SVN Range
AppliesTo Engine
Component FoswikiMeta
Priority Urgent
CurrentState Closed
Checkins distro:4e206d4c5b46 distro:25ce6b1fbe7e distro:d55817466e5b
TargetRelease patch
ReleasedIn 1.1.6
CheckinsOnBranches Release01x01 trunk
trunkCheckins distro:25ce6b1fbe7e distro:d55817466e5b
Release01x01Checkins distro:4e206d4c5b46
I Attachment Action Size Date Who Comment
recursion-errorEXT recursion-error manage 33 K 06 Nov 2012 - 15:18 GeorgeClark Excerpt from error log
Topic revision: r6 - 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