Mark, When you say global mappings, are you saying that you created a mapping in the ColdFusion admin? Also, can you maybe share some of your Application.cfc code for us to get a better idea as to what you are trying to accomplish?
On Wed, Oct 8, 2014 at 1:58 PM, Gaulin, Mark <[email protected]> wrote: > > Hi Folks > Our single CF11 test server just highlighted a freaky difference between > CF10 and CF11 that has us all puzzled. (We are running CF11 with the > latest service pack.) > > 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 (outside of any method in Application.cfc). This > means we can't instantiate CFC's under the /cfc directory in that top > script block area. > > We know we can create CFC's in onApplicationStart(), but we currently use > a CFC to set the Application's "this.name" and "this.setDomainCookies", > etc. variables, and I think those can only be changed right at the top of > Application.cfc. > > Is this a bug or something? Why would globally-defined mappings not be > available at the top of Application.cfc? (BTW, the per-Application > "this.mappings" are also ignored in that top script block, so that's not a > help either.) > > Thanks > Mark > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:359416 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

