tracker issue : CF-3207841

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

GetApplicationMetadata is invalid. Doc needs deleted ASAP! getFunctionList() needs updated.

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/NotABug

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

Created: 06/07/2012

Components: Documentation

Versions: 10.0

Failure Type: Unspecified

Found In Build/Fixed In Build: Final /

Priority/Frequency: Trivial / Some users will encounter

Locale/System: English / Platforms All

Vote Count: 0

In Beta, the function was named "GetApplicationMetadata". In final, it was renamed to "ApplicationGetMetadata".

Issues:
1) The old "GetApplicationMetadata()" still works in code
2) The old "GetApplicationMetadata" doc still exists w/ heading "PRERELEASE - 02/17/2012"
3) getFunctionList() lists "GetApplicationMetadata" but does not list "ApplicationGetMetadata"

Urgent: Most importantly, the old GetApplicationMetadata doc needs deleted ASAP, before people start using this old function name in code!

Then, in the next updater:
1) getFunctionList() should only list "ApplicationGetMetadata"
2) the old "GetApplicationMetadata()" should stop working in code

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

Watson Bug ID:	3207841

External Customer Info:
External Company:  
External Customer Name: itisdesign
External Customer Email:

Attachments:

Comments:

Related Post: http://prerelease.adobe.com/r/?8ffe6eee961e4455b0cb4554354f0f55 GetApplicationMetadata doc: http://help.adobe.com/en_US/ColdFusion/10.0/CFMLRef/WS578003649f39bc20-258e7ab21350d4577c9-8000.html (please delete ASAP) ApplicationGetMetadata doc: http://help.adobe.com/en_US/ColdFusion/10.0/CFMLRef/WSf23b27ebc7b554b6c43bda313671e094bb-8000.html
Comment by External U.
19091 | June 07, 2012 02:21:18 AM GMT
It is actually the other way around. It was earlier ApplicationGetMetadata and has been renamed to GetApplicationMetadata. It is not a bug and therefore closing it.
Comment by Rupesh K.
19092 | June 07, 2012 02:38:48 AM GMT
It was applicationGetMetaData (note the uppercase "D") and I created #CF-3004215 to change "D" to "d". But, what happened was it was renamed from applicationGetMetaData to GetApplicationMetadata which of course makes it inconsistent w/ SessionGetMetadata. So, now we've got SessionGetMetadata and GetApplicationMetadata. Likewise, we have ApplicationStop and GetApplicationMetadata. The only odd one here is "GetApplicationMetadata". It doesn't fit.
Comment by External U.
19093 | June 07, 2012 02:54:48 AM GMT
applicationStop, sessionGetMetadata, sessionRotate, sessionInvalidate getApplicationMetadata
Comment by External U.
19094 | June 07, 2012 03:01:05 AM GMT
Regarding: "It was earlier ApplicationGetMetadata and has been renamed to GetApplicationMetadata." That was actually Pre-Beta. But I didn't mention it b/c I thought I could only discuss Beta. Thus, I could've said: Pre-Beta, the function was named "ApplicationGetMetaData". In Beta it was renamed to GetApplicationMetadata (instead of lowercasing the D to d). In Final it was renamed to ApplicationGetMetadata. The fact that the GetApplicationMetadata doc still says "PRERELEASE - 02/17/2012" and the new ApplicationGetMetadata doc doesn't have that heading validates my last sentence there. But anyways, why should it remain "getApplicationMetadata"? It's not consistent, especially w/ "sessionGetMetadata".
Comment by External U.
19095 | June 07, 2012 03:15:26 AM GMT
And the CFML Reference even mentions ApplicationGetMetadata: http://help.adobe.com/en_US/ColdFusion/10.0/CFMLRef/index.html Also note the "d" instead of "D".
Comment by External U.
19096 | June 07, 2012 03:30:47 AM GMT
I prefer ApplicationGetMetaData. It is consistent with ColdFusion's naming convention (function category = application)
Comment by External U.
19097 | July 01, 2012 01:13:23 AM GMT
Hi all, Just noting that there are 2 more current discussions on this same topic: Ticket #CF-3208541 - https://bugbase.adobe.com/index.cfm?event=bug&id=CF-3208541 Public forums - http://forums.adobe.com/thread/1018978 Thanks, -Aaron
Comment by External U.
19098 | July 01, 2012 12:24:07 PM GMT