tracker issue : CF-4175902

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

"Disable CFC Type Check" does not "disables verifying an object that implements the right interface"

| View in Tracker

Status/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:

Henry, When "Disable CFC Type Check" option is checked, UDF arguments of CFC type is not validated. The arguments are treated as type "ANY".
Comment by Nimit S.
2109 | July 27, 2016 03:55:20 AM GMT
If that's the case, please update the doc as it sort of implies it will "disable verifying an object that implements the right interface" including on object instantiation. Thanks.
Comment by External U.
2110 | July 27, 2016 01:57:42 PM GMT
https://helpx.adobe.com/coldfusion/configuring-administering/using-the-coldfusion-administrator.html
Comment by Saurav G.
2111 | July 29, 2016 02:26:38 AM GMT