Status/Resolution/Reason: Closed/Won't Fix/Workaround
Reporter/Name(from Bugbase): Stephen Baker / Stephen Baker (Stephen Baker)
Created: 07/29/2016
Components: Core Runtime
Versions: 10.0
Failure Type: Incorrect w/Workaround
Found In Build/Fixed In Build: Final /
Priority/Frequency: Major / All users will encounter
Locale/System: English / Win 2008 Server R2 64 bit
Vote Count: 0
Problem Description:
<CFOUTPUT> tags cascade into an included template with respect to output for the enablecfoutputonly setting, but not for processing #s.
Steps to Reproduce:
Create two files:
a.cfm
```
<CFSETTING enablecfoutputonly="yes">
<CFOUTPUT><CFINCLUDE template="b.cfm"></CFOUTPUT>
```
b.cfm
```
<CFSETTING enablecfoutputonly="yes">
<CFOUTPUT>should show this</CFOUTPUT> and not this
```
Call a.cfm
Actual Result:
should show this and not this
Expected Result:
should show this
Any Workarounds:
Do not wrap <CFINCLUDE> with <CFOUTPUT>, Then included template is assumed to have enablecfoutputonly on as well, but that can be solved with a <CFSETTING> directive before and after the CFINCLUDE
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4177084
External Customer Info:
External Company:
External Customer Name: Stephen Baker
External Customer Email:
Attachments:
Comments: