tracker issue : CF-3039343

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

Bug 78897:Application-specific mappings do NOT take priority over server-level (global) mappings, which brings them within a nanometer of being absolutely useless

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/

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

Created: 07/17/2009

Components: Core Runtime, Application

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Normal / Unknown

Locale/System: English / Platforms All

Vote Count: 7

Problem:

Application-specific mappings do NOT take priority over server-level (global) mappings, which brings them within a nanometer of being absolutely useless.Without application-level mappings, it is difficult to run multiple versions of frameworks (for example, an old application in Model-Glue 2 and a new application in Model-Glue 3) on the same server, and take advantage of mappings. In order to do this, you must remove the global mapping and either include the framework in the web root (which can cause a significant amount of duplication and maintenance headaches, and is not always an option, for example: when the application lives in a sub-folder) or use a per-application mapping.Ideally, I would like to see per-application mappings take precedence over global mappings. That is how it *should* work. I hope you don't decline to fix this bug citing "backwards compatability" because the current functionality is just *broken*.
Method:

create a folder "a" with foo.cfm, contents: "foobar-global"create a folder "b" with foo.cfm, contents: "foobar-local"create a global mapping "foo" in CF Admin that points to the folder "a"create an application with a per-app mapping to the "b" folderin your application, do: <cfinclude template="/foo/foo.cfm" />you will see the message "foobar-global", instead of the expected result "foobar-local" from your per-app mapping.
Result:

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

Watson Bug ID:	3039343

External Customer Info:
External Company:  
External Customer Name: Adam Tuttle
External Customer Email: 71DA001D4586B5B5992015D5
External Test Config: 07/17/2009

Attachments:

Comments:

This bug has been voted..
Vote by External U.
23349 | November 10, 2011 06:58:44 PM GMT
This bug has been voted..
Vote by External U.
23350 | November 10, 2011 06:58:45 PM GMT
This NEEDS to be fixed. Hopefully, before CF9 is released!
Vote by External U.
23351 | November 10, 2011 06:58:46 PM GMT
This bug has been voted..
Vote by External U.
23352 | November 10, 2011 06:58:47 PM GMT
This bug has been voted..
Vote by External U.
23353 | November 10, 2011 06:58:48 PM GMT
This bug has been voted..
Vote by External U.
23354 | November 10, 2011 06:58:49 PM GMT
This bug has been voted..
Vote by External U.
23355 | November 10, 2011 06:58:50 PM GMT