Title:
Bug 84685:(Watson Migration Closure)Currently, CFC metadata obtained from getComponentMetadata or getMetadata exposes all properties/etc inherited from a parent object via the "extends" property, which can also recurse up the tree with
| View in TrackerStatus/Resolution/Reason: To Fix//
Reporter/Name(from Bugbase): Adam Tuttle / Adam Tuttle (Adam Tuttle)
Created: 10/17/2010
Components: Language, Functions
Versions: 9.0.1
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Normal / Unknown
Locale/System: English / Platforms All
Vote Count: 6
Problem:
Currently, CFC metadata obtained from getComponentMetadata or getMetadata exposes all properties/etc inherited from a parent object via the "extends" property, which can also recurse up the tree with no limit (until the base component class is reached). And certainly, this has its place. But I'm starting to think that there are times when you just want an explanation of all available properties/functions/etc, and you don't care whether it comes from the child cfc, or its parent, or the grandparent, and so on.For this reason, I would like to see a "flatten" option added to both of these methods. When false (default), nothing would be different. But when true, all functions/properties/etc would be visible in the root structure returned by the method, and "extends" would just not be there.
Method:
Result:
Enhancement Request: Flatten option for getMetadata and getComponent Metadata functions
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3042492
External Customer Info:
External Company:
External Customer Name: Adam Tuttle
External Customer Email: 71DA001D4586B5B5992015D5
External Test Config: 10/17/2010
Attachments:
Comments: