tracker issue : CF-3780136

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

cfimport in cfscript does not work as documented

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Giancarlo Gomez / Giancarlo Gomez (Giancarlo Gomez)

Created: 06/23/2014

Components: Language

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Normal / All users will encounter

Locale/System: ALL / Win 2012 Server x64

Vote Count: 0

Listed in the version 11.0.03.292480 Issues Fixed doc
Duplicate ID:	CF-3754672

Problem Description:
Implementing cfimport tag as documented in the docs (https://wikidocs.adobe.com/wiki/display/coldfusionen/cfscript) does not work. You get the following error instead.

Variable CFIMPORT is undefined.

Steps to Reproduce:
Download my simple sample code and test
https://github.com/GiancarloGomez/CF11-cfimport-error

Actual Result:
Error

Expected Result:
To Work

Any Workarounds:
DO not used cfscript version

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

Watson Bug ID:	3780136

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

Attachments:

Comments:

fix will be available in the upcoming update.
Comment by S P.
11819 | September 02, 2014 01:28:39 AM GMT
I've verified this is fixed in CF11 Update 3. Repro: <cfscript> cfimport(taglib="../importFolder/", prefix="myTags"); myTags:customTag();//the following error is no longer thrown in CF11 Update 3: A script statement must end with ";". </cfscript> Thanks!, -Aaron
Comment by External U.
11820 | November 06, 2014 10:14:09 PM GMT