You are here: Foswiki>Tasks Web>Item10949 (05 Jul 2015, GeorgeClark)Edit Attach

Item10949: INCLUDE macro does not honor NOAUTOLINK setting when expanding included topic.

pencil
Priority: Normal
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Engine
Component: FoswikiRender
Branches: trunk
Reported By: AndreLichtsteiner
Waiting For:
Last Change By: GeorgeClark
In the following setting, WikiWords get partially treated a links despite the preference setting NOAUTOLINK as on and result in a ugly result:

TopicA in Web_A
WikiWord in Topic A
 

TopicB in Web_B
WikiWord in Topic B
%INCLUDE{"Web_A.TopicA"}%
 

NOAUTOLINK = on
Web_A and Web_B define in WebPreferences NOAUTOLINK as on. So no automatic linking.

Ugly Result for TopicB
WikiWord in Topic B
Web_A.WikiWord in Topic A
 

-- AndreLichtsteiner - 07 Jul 2011

Thank you for this report.

-- PaulHarvey - 07 Jul 2011

This bug seems to be still open in 1.1.5 and I have no indication that it's closed in the two latest releases.

-- AndreLichtsteiner - 12 Feb 2013

This is now fixed for trunk, but I can't figure how to get the NOAUTOLINK preference to be honored in the unit test environment. It seems to be a test framework issue, not an issue in the include code.

-- GeorgeClark - 19 Jun 2014
 

ItemTemplate edit

Summary INCLUDE macro does not honor NOAUTOLINK setting when expanding included topic.
ReportedBy AndreLichtsteiner
Codebase 1.1.3, trunk
SVN Range
AppliesTo Engine
Component FoswikiRender
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:8bd9e8b3211a distro:8a58d81796f8
TargetRelease major
ReleasedIn 2.0.0
CheckinsOnBranches trunk
trunkCheckins distro:8bd9e8b3211a distro:8a58d81796f8
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r9 - 05 Jul 2015, GeorgeClark - This page was cached on 29 Sep 2016 - 10:33.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License