Title:
The Code Analyzer in ColdFusion11 wrongly reports GetMetaData as a new function when analyzing CF8.0 code
| View in TrackerStatus/Resolution/Reason: Closed/Won't Fix/Workaround
Reporter/Name(from Bugbase): Sathish Kumar / Sathish Kumar (Sathish Kumar)
Created: 08/13/2015
Components: Administrator, Code Analyzer
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Minor / All users will encounter
Locale/System: English / Windows 7 64-bit
Vote Count: 1
Problem Description: We are trying to migrate a ColdFusion 8.0 site to ColdFusion 11update 5 for a client of ours. One of the errors reported by the Code Analyzer is that "getmetadata" function references in the code must be changed as this is a new function added in ColdFusion 10. But this has been added since ColdFusionMX ( 6.0).
Steps to Reproduce: Create a new file called test.cfm. put a code such as <cfdump var="#getmetaData(CGI)#">. Run this and it will run ok.
Actual Result: Now use the Code Analyzer in Adobe ColdFusion 11 Administrator to analyze this file and it would report an error stating that the getmetadata function is new in ColdFuion10 and the UDF name must be changed to avoid conflict in our legacy code.
Expected Result: No error must occur as it is a inbuild CF function added since version 6.0
Any Workarounds: Just ignore this error and proceed with your upgrade to CF11.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4036379
External Customer Info:
External Company:
External Customer Name: Sathish
External Customer Email:
External Test Config: Adobe ColdFusion 11 Update 5.
Attachments:
- August 13, 2015 00:00:00: 1_CodeAnalyzerError_CF11.pdf
Comments: