tracker issue : CF-3842370

select a category, or use search below
(searches all categories and all time range)

Could Not Find The Included Template

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Dave Cordes / Dave Cordes (Dave Cordes)

Created: 10/22/2014

Components: Core Runtime

Versions: 11.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Critical / All users will encounter

Locale/System: English / Win 2008 Server R2

Vote Count: 0

Listed in the version Issues Fixed doc
Problem Description:

In ColdFusion 10 and previous you could add an IIS virtual directory and then add a ColdFusion mapping and use that mapping to include a file. After installing ColdFusion 11 that's not possible anymore.

For example, I have a virtual directory called "cart" located here:


I then add a ColdFusion mapping of "puzzlewarehouse" to this directory:


I could then setup a ColdFusion include located on the following template:


That looks like this:

<cfinclude template="/puzzlewarehouse/application.cfc">

This no longer works in ColdFusion 11. It did in ColdFusion 10. What happened?

Steps to Reproduce:

Follow the steps above.

Actual Result:

Actual result was the following error:

Could not find the included template /puzzlewarehouse/application.cfc.

Expected Result:

Expected result was no error.

Any Workarounds:

Using relative links does solve the problem but I'd like to know why this fails to work anymore.

<cfinclude template="../../">

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3842370

External Customer Info:
External Company:  
External Customer Name: davecordes
External Customer Email:  
External Test Config: My Hardware and Environment details:

Server Product	ColdFusion

Version	11,0,02,291725

Tomcat Version

Edition	Standard  

Operating System	Windows Server 2008 R2  

OS Version	6.1  

Update Level	D:/ColdFusion11/cfusion/lib/updates/chf11000002.jar  

Adobe Driver Version	5.1.1 (Build 0001)



In the latest code, the bug is not reproducable.
Comment by Paul N.
10512 | November 19, 2014 06:17:52 AM GMT
Hi Paul, I was unable to reproduce the issue on CF10 Update 14, CF11 Final and CF11 Update 3 (11,0,03,292245(PreRelease)) using the following repro: 1) IIS mapping "cart" => C:\WEBROOT\_shared\cart 2) CF mapping "/puzzlewarehouse" => C:/WEBROOT/ 3) C:\WEBROOT\_shared\cart\index.cfm contains: <cfinclude template="/puzzlewarehouse/Application.cfc"> 4) C:\WEBROOT\ contains: component output="true" {writeOutput("from Application.cfc");} 5) Browsing to outputs "from Application.cfc" I'm not seeing any bug. This ticket says "Fixed", tho.. What was fixed? Or should this ticket's status be "UnableToReproduce"? Thanks!, -Aaron
Comment by External U.
10513 | November 26, 2014 03:31:36 AM GMT
Hi Aaron, I am facing this issue with ColdFusion 11 basic installer, if I am including Application.cfc inside another Application.cfc instead of index.cfm.
Comment by Nimit S.
10514 | November 26, 2014 06:42:38 AM GMT