tracker issue : CF-3811008

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

cfimport() not implemented

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/Duplicate

Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)

Created: 08/24/2014

Components: Language

Versions: 11.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Platforms All

Vote Count: 0

Duplicate ID:	CF-3754672

Given you claim to have implemented 100% of tags in your generic CFScript syntax, this should work:

{code}
<cfscript>
cfimport(taglib="tags", prefix="t");
</cfscript>
<t:tag>
{code}

It just errors with:

{quote}
Variable CFIMPORT is undefined.
The error occurred in C:/apps/adobe/ColdFusion/11/cfusion/wwwroot/shared/scratch/blogExamples/cfml/cfscript/test.cfm: line 1
1 : <cfscript>
2 : cfimport(taglib="tags", prefix="t");
3 : </cfscript>
{quote}

Note you're also getting the line number the error occurred on wrong.

There seems to be no other way of importing a taglib via CFScript, so this is definitely a bug (of omission, if nothing else).

-- 
Adam

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

Watson Bug ID:	3811008

External Customer Info:
External Company:  
External Customer Name: Adam Cameron.
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments:

Bug has been fixed. Fix will be available in the next update.
Comment by Suchika S.
11239 | August 24, 2014 11:51:31 PM GMT
The bug you claim this is a duplicate of doesn't seem to exist. Still: as long as it's fixed, that's good.
Comment by External U.
11240 | August 25, 2014 01:18:20 AM GMT
The bug was logged internally and so you cannot see it. I will mark that as an external bug.
Comment by Suchika S.
11241 | August 25, 2014 01:26:02 AM GMT
Aha! Cheers.
Comment by External U.
11242 | August 25, 2014 01:30:34 AM GMT