Stephen Moretti said: > Nathan Drury wrote: >> We have one machine that is used for our intranet and our internal >> web apps. Our intranet runs on a CMS that requires CF 6.1 but is >> not compatible with CF 7, so the machine only has 6.1 installed > > I'm quite surprised that your intranet software isn't compatible > with CF7.... I'd understand if it was CF5 and CF7, but not CF6.1 > to CF7. > > Have you tried running the "code analyzer" in CF 7 Admin on your > intranet code? Or tried setting up a test server with CF7 and your > intranet software?
There are some incompatibilities that are not detected by the code analyser such as scope resolution precedence. For example, two weeks ago I encountered the following code: <cffunction name="GenerateIt"> <cfargument name="LWB" type="string" required="yes"> <cfset LWB = Request.stCache.blah> <cfset LWB = ReplaceNoCase(LWB, "x", Arguments.LWB, "ALL")> ... <cfreturn x> </cffunction> In CF 6.x "LWB" in the function body refers to a local var, in CF 7.x LWB refers to Arguments.LWB. Oeps. Jochem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:10:5967 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/10 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:10 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.10 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
