Title:
[ANeff] Bug for: Application.cfc vs Application.cfm wrt GetApplicationMetadata()
| View in TrackerStatus/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
GetApplicationMetadata() (which should be ApplicationGetMetadata()) result differs between Application.cfc and Application.cfm.
Application.cfc:
----------------
component {
THIS.name = "foo";
void function onRequest() {
writeOutput(structKeyExists(getApplicationMetadata(), "compileExtForInclude") & ' | ' & structKeyExists(getApplicationMetadata(), "strictNumberValidation"));
}
}
Application.cfm
---------------
<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:
Attachments:
Comments: