tracker issue : CF-3989315

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

[ANeff] Bug for: Application.cfc vs Application.cfm wrt GetApplicationMetadata()

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)

Created: 05/17/2015

Components: Language

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Normal / Some users will encounter

Locale/System: ALL / Platforms All

Vote Count: 0

Listed in the version 2016.0.0.297996 Issues Fixed doc
Verification notes: verified_fixed on August 24, 2019 using build 2016.0.01.298513
GetApplicationMetadata() (which should be ApplicationGetMetadata()) result differs between Application.cfc and Application.cfm.

component { = "foo";
  void function onRequest() {
    writeOutput(structKeyExists(getApplicationMetadata(), "compileExtForInclude") & ' | ' & structKeyExists(getApplicationMetadata(), "strictNumberValidation"));

<cfapplication name="bar">
<cfoutput>#structKeyExists(getApplicationMetadata(), "compileExtForInclude")# | #structKeyExists(getApplicationMetadata(), "strictNumberValidation")#</cfoutput>

Actual Result:
Application.cfc returns: YES | NO
Application.cfm returns: NO | YES

Expected Result:
Application.cfc returns: YES | YES
Application.cfm returns: YES | YES

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

Watson Bug ID:	3989315

External Customer Info:
External Company:  
External Customer Name: Aaron
External Customer Email:



Fix will be available in the next ColdFusion release. Thanks!
Comment by S P.
7425 | September 23, 2015 04:14:19 AM GMT
Hi Adobe, I've verified this is fixed in CF2016 Update 1 (build 2016.0.01.298513). Thanks!, -Aaron
Comment by Aaron N.
31173 | August 24, 2019 07:11:36 AM GMT