tracker issue : CF-3742204

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

cfinclude within <cfclient> should support .html file inclusion

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): / ext-user (Akhila K Srinivas)

Created: 04/14/2014

Components: Mobile Support, Custom Tags

Versions: 11.0

Failure Type: Enhancement Request

Found In Build/Fixed In Build: dev build /

Priority/Frequency: Normal / Few users will encounter

Locale/System: English / Android 4.x

Vote Count: 0

Listed in the version Issues Fixed doc
Problem:<cfinclude> within <cfclient> should support files with ".html" extension.

Right now an error is thrown  with below message when tried to include html file : 
 " An exception has occurred in the processing of CFClient code : Invalid template : includeme.html. Can include cfm, css or js files only."

Test code to repro :

index.cfm :

<cfinclude template="includeme.html">

includeme.html : 

<title> Hello there!!</title>







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

Watson Bug ID:	3742204

External Customer Info:
External Company:  
External Customer Name:  
External Customer Email:



Supporting including HTML file for cfinclude in CFClient
Comment by Paul N.
12655 | August 08, 2014 04:48:19 AM GMT
Hi Akhila and Paul, I've verified this is fixed in CF11 Update 3 (11,0,03,292024(PreRelease)). However, <cfclient> really should honor THIS.compileExtForInclude so that we can specify our own extensions (ex: .txt or .include, etc). Thanks!, -Aaron
Comment by External U.
12656 | November 15, 2014 07:52:03 PM GMT