Custom Tag and CFC Case Issue Followup and Workaround

In my previous post, I discovered an issue with ColdFusion 8.0.1 + Cumulative HotFix 1 that was causing me a major headache. While the custom tag issue wasn't too bad, the CFC invocation case sensitivity was huge. It stopped me in my tracks while trying to develop a ColdSpring + Transfer app that relies on scores of CFCs to be invoked, most using mixed case for the invocation. While grasping at straws trying to fix this issue, I began back-revving the updates I had applied, starting with the cumulative hot fix 1. Lo and behold, after remove the jar file and restarting ColdFusion, the problem disappeared!!! Looking through the "fixes" that are covered by the cumulative hot fix 1, my guess is that it would be related to the Patch for Apache Connector ArithmeticException Divide By Zero. The details say that "... error occurs as ColdFusion tries to resolve ColdFusion Component (CFC) paths." and references "coldfusion.util.CaseInsensitiveMap". My guess is that Adobe messed something up with the fix that broke normal functionality. I'll have to follow up with someone to be certain and to hopefully get this fixed soon. In the meantime, I hope I don't need anything include in the hot fix list!

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
As per my comment in the previous blog post.

Traditionally CF *has* been case-sensitive for CFC paths. This has been the case from CFMX6 through to 7.0.2. I haven't tested all versions, but we first noticed it with 6.0 (ie: as soon as CFCs were introduced), and we had a problem with this just a few weeks ago on 7.0.2. I presume it's the same with the intermediary releases.

This makes sense because all file paths have always been case-sensitive on *nix, in CF.

If they started being case-insensitive at some stage after that then *that* is the bug. it sounds like 8.01 CHF1 fixes the bug, ie: restores the case-sensitivity.

--
Adam
# Posted By Adam Cameron | 7/18/08 8:12 AM
Adam:

Agreed - the _paths_ have been case-sensitive, but not the CFC name itself. And custom tags have never been case sensitive. I have a test case on my servers that confirms these two statements. See my post from this morning for more info. Adobe now has a tech note that begins to detail the change.

Mark
# Posted By Mark Mazelin | 7/18/08 8:34 AM
BlogCFC was created by Raymond Camden. This blog is running version 5.8.