tracker issue : CF-4036379

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

The Code Analyzer in ColdFusion11 wrongly reports GetMetaData as a new function when analyzing CF8.0 code

| View in Tracker

Status/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:

  1. August 13, 2015 00:00:00: 1_CodeAnalyzerError_CF11.pdf

Comments:

Agree it is an issue but it seems to be of a lower impact as of now. In case we hear from others regarding this issue, we can reconsider. Thanks for bringing it up.
Comment by HariKrishna K.
6274 | August 20, 2015 10:30:52 PM GMT
+1 ......................
Vote by External U.
6275 | December 20, 2015 07:30:33 PM GMT