tracker issue : CF-3708694

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

<cfimport> should respect runtime mappings

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

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

Created: 02/16/2014

Components: Language

Versions: 9.0

Failure Type:

Found In Build/Fixed In Build: 9.0 / 288778

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Platforms All

Vote Count: 1

See http://cfmlblog.adamcameron.me/2014/02/railo-bug-or-coldfusion-bug.html for full discussion

<cfimport> does not consider mappings set in Application.cfc when it's being compiled *unless* those mappings are already in memory.

This lack of uniformity in behaviour is a bug. It should be mitigated by simply working how any other mapping-aware tags (like <cfinclude> and <cfmodule>) do.

Verified this is a problem in CF9 and CF10.

-- 
Adam

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

Watson Bug ID:	3708694

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

Attachments:

Comments:

This needs to be consistent. End of story.
Vote by External U.
13507 | February 18, 2014 10:10:04 PM GMT
This looks to be fixed in ColdFusion 11. Could you please check and confirm?
Comment by Rupesh K.
13505 | May 05, 2014 04:55:46 AM GMT
Yup, confirmed. Cheers. -- Adam
Comment by External U.
13506 | May 06, 2014 02:14:09 AM GMT