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