Title:
"Disable CFC Type Check" does not "disables verifying an object that implements the right interface"
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Henry Ho / Henry Ho (Henry Ho)
Created: 07/26/2016
Components: Documentation
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Critical / Some users will encounter
Locale/System: English / Win All
Vote Count: 0
Problem Description:
According to the doc @ http://help.adobe.com/en_US/ColdFusion/10.0/Admin/WSc3ff6d0ea77859461172e0811cbf3638e6-7ffc.html "Disable CFC Type Check" should "disables verifying an object that implements the right interface" but it does not
Steps to Reproduce:
<!--- interfaceA.cfc --->
<cfinterface>
<cffunction name="foo"/>
</cfinterface>
<!--- A.cfc --->
<cfcomponent implements="InterfaceA">
<cffunction name="bar">
<cfreturn "">
</cffunction>
</cfcomponent>
<!--- a.cfm --->
<cfset new A()>
Actual Result:
Error Occurred While Processing Request
CFC com.A does not implement the interface com.InterfaceA.
The foo method is not implemented by the component or it is declared as private.
Expected Result:
disabled verifying an object that implements the right interface as documented
Any Workarounds:
remove implements="" in all CFC with Disable CFC Type Check enabled.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4175902
External Customer Info:
External Company:
External Customer Name: Henry Ho
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: