Hi Cameron We can successfully use the /cfc mapping outside of the top script block, so I don't think it is reserved in that way. We also observed that expandPath() behaves differently in the top script block vs in a Application.cfc method. (It expands the mappings paths properly in the method, but doesn't know any mappings in the top script block.)
Pretty weird... Thanks Mark -----Original Message----- From: Cameron Childress [mailto:camer...@gmail.com] Sent: Wednesday, October 08, 2014 2:33 PM To: cf-talk Subject: Re: CF11 changes to Application.cfc - no mappings defined? On Wed, Oct 8, 2014 at 1:58 PM, Gaulin, Mark <mark.gau...@ihs.com> wrote: > It appears that the CF mappings defined in CFIDE (such as "/cfc" -> > root dir for all of our CFC's) are not defined inside the block of > code at the top of Application.cfc I would also test this with a global mapping not called "cfc". That word may be reserved in CF11. I have no idea if it is, but it would be super easy for you to test. -Cameron -- Cameron Childress -- p: 678.637.5072 im: cameroncf facebook <http://www.facebook.com/cameroncf> | twitter <http://twitter.com/cameronc> | google+ <https://profiles.google.com/u/0/117829379451708140985> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359419 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm