Title:
Bug 77097:(Watson Migration Closure)CFC metadata properties should be exposed as a struct
| View in TrackerStatus/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: