tracker issue : CF-3041755

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

Bug 83526:(Watson Migration Closure)If you create a component with accessors = true and any property on it like:component extends="Test"{function init(){super

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Luis Majano / Luis Majano (Luis Majano)

Created: 07/09/2010

Components: Language, CF Component

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Major / Unknown

Locale/System: English / Platforms All

Vote Count: 2

Listed in the version 2016.0.0.297996 Issues Fixed doc
Verification notes: verified_fixed on July 27, 2017 using build 2016.0.01.298513
Problem:

If you create a component with accessors = true and any property on it like:component extends="Test"{function init(){super.init();super.setTest('setup');return this;}}Then if you create another cfc that inherits from it and call on a super.set{property}The call fails.
Method:

Create a CFC with accessors = true and any amount of properties. Create a second CFC that extends the original CFC and call a super method for a setter or getter.  super.get{property} or super.set{property}Both of them will failcomponent accessors=true{property name="test" default="";function init(){return this;}}
Result:

The setTest method was not found.  Either there are no methods with the specified method name and argument types or the setTest method is overloaded with argument types that ColdFusion cannot decipher reliably. ColdFusion found 0 methods that match the provided arguments. If this is a Java object and you verified that the method exists, use the javacast function to reduce ambiguity.

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

Watson Bug ID:	3041755

External Customer Info:
External Company:  
External Customer Name: Luis Majano
External Customer Email: 7A3D2E124563615A99201549
External Test Config: 07/09/2010

Attachments:

Comments:

This bug has been voted..
Vote by External U.
21804 | November 11, 2011 12:49:07 AM GMT
This bug has been voted..
Vote by External U.
21805 | November 11, 2011 12:49:08 AM GMT
Fix tested TestCase Location: //depot/qa/cf/regression/coretests/components/invokeImplicitAccessor/invokeImplicitAccessor-true/accessors-true/CF-3041755/
Comment by Suchika S.
21802 | June 23, 2015 05:35:41 AM GMT
Verified this is fixed in CF2016 Update 1 (build 2016.0.01.298513). Thanks!, -Aaron
Comment by Aaron N.
21803 | July 27, 2017 08:02:06 AM GMT