tracker issue : CF-3038493

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

Bug 77097:(Watson Migration Closure)CFC metadata properties should be exposed as a struct

| View in Tracker

Status/Resolution/Reason: Closed/Deferred/

Reporter/Name(from Bugbase): Elliott Sprehn / Elliott Sprehn (Elliott Sprehn)

Created: 05/07/2009

Components: Language

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Normal / Unknown

Locale/System: English / Platforms All

Vote Count: 3

Problem:

CFC metadata properties should be exposed as a struct.

Properties must have unique names in a CFC, but they are not stored as a struct, so finding if a property exists in a component is very expensive.

getMetaData(object).properties is an Array.

Please provide getMetaData(object).propertyMap which is a struct.

if( structKeyExists(getMetaData(object).propertyMap,"firstName") ) {
   // do something
}
Method:


Result:

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

Watson Bug ID:	3038493

External Customer Info:
External Company:  
External Customer Name: Elliott Sprehn
External Customer Email: 202D59C844579997992016B7
External Test Config: 05/07/2009

Attachments:

Comments:

This bug has been voted..
Vote by External U.
23727 | November 10, 2011 07:20:20 PM GMT
This bug has been voted..
Vote by External U.
23728 | November 10, 2011 07:20:21 PM GMT
+1, and a functionMap too, as suggested in this thread: https://prerelease.adobe.com/r/?d96ad6e1b5a5492e852124e8878d81a1
Vote by External U.
23729 | November 10, 2011 07:20:22 PM GMT