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

Priority: Normal
Current State: Closed
Released In: 1.1.3
Target Release: patch
Applies To: Engine
Component: WEBLIST
Reported By: GeorgeClark
Waiting For:
Last Change By: KennethLavrsen
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 distro:e71aeb736749 distro:a8086906f76d
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