tracker issue : CF-3338329

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

Dumping an entire object that extends a parent class displays metadata for overridden functions from parent instead of child

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Fuck You / Fuck You (Kevin.Cruz)

Created: 09/27/2012

Components: Debugging

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Final / 286448

Priority/Frequency: Major / All users will encounter

Locale/System: English / Windows 7 64-bit

Vote Count: 0

Problem Description: If you create a base class and write a function (such as init()) in the base class, then a child class that extends the object that has a function that overrides it, if you dump the entire object, the metadata from the parent class is displayed for the function under METHODS instead of the child class.  This does not occur if you dump the specific function from the object.

Steps to Reproduce: Create a CFC called parent, and an empty init() function with a hint that describes the function as coming from the parent CFC.  Create another CFC called child that extends parent with another empty init() function and a hint that describes it as coming from the child CFC.  You do not need to call super.init() in the child CFC, it occurs either way.  Create a CFM file that initializes the child object, then dump the child object, followed by dumping child.init.

Actual Result: Metadata for the specified function from the object dump contains information from the base/parent CFC; metadata from the object.function dump contains data from the child CFC.

Expected Result: Metadata for the specified function for both the object dump and the object.function dump contain the same information.

Any Workarounds: None

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

Watson Bug ID:	3338329

External Customer Info:
External Company:  
External Customer Name: Kevin.Cruz
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments: