Foswiki on GitHub is open for business! Next release meeting: Monday September 15, 1300Z

Item10486: WEBLIST macro includes curent web when webs=webtemplate requested

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Engine WEBLIST  
The current web should not be included in the template web list if it's not a template.

-- GeorgeClark - 14 Mar 2011

The bug appears to be in WebFilter, which always returns the "current" web in the list, even if the request is for template webs. Simple ordering of return statements resolves the issue. Also resolves a minor issue with the Create Web dialog where the System web was listed twice, once found as a template, and then as a real web.

-- GeorgeClark - 17 Mar 2011
 

ItemTemplate edit

Summary WEBLIST macro includes curent web when webs=webtemplate requested
ReportedBy GeorgeClark
Codebase 1.1.3 beta1, trunk
SVN Range
AppliesTo Engine
Component WEBLIST
Priority Normal
CurrentState Closed
WaitingFor
Checkins Foswikirev:11123 Foswikirev:11124
TargetRelease patch
ReleasedIn 1.1.3
Topic revision: r5 - 16 Apr 2011, KennethLavrsen
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License