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: