Title:
Bug 80451:When using mixins, cfdump nor getmetadata() show the mixin methods
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Matt Quackenbush / Matt Quackenbush (IamQuackFuzed)
Created: 10/21/2009
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 9,0,0,251028 / 261704
Priority/Frequency: Minor / Some users will encounter
Locale/System: English / Win All
Vote Count: 1
Problem:
When using mixins, cfdump nor getmetadata() show the mixin methods. For more information, see http://www.quackfuzed.com/index.cfm/2009/10/21/Learning-CF9-Are-Mixins-Supported .
Method:
<!--- bug80451.cfc --->
<cfcomponent>
<cfinclude template="udf.cfm" />
<cffunction name="sayHello">
<cfreturn "hello">
</cffunction>
</cfcomponent>
<!--- udf.cfm --->
<cffunction name="foo">
<cfargument name="arg1">
<cfreturn arg1>
</cffunction>
<cffunction name="bar">
<cfargument name="arg1">
<cfreturn arg1>
</cffunction>
<!--- test.cfm --->
<cfset mycfc = new bug80451()>
<cfdump var="#mycfc#">
<cfdump var="#getmetadata(mycfc)#">
Result:
N/A
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3040338
External Customer Info:
External Company:
External Customer Name: Matt Quackenbush
External Customer Email: 03302E2947871AB8992015A8
External Test Config: 10/21/2009
Attachments:
Comments: