Title:
Bug 79584:If a concrete class is using automatic getters/setters via cfproperty/property and that class is implementing an interface that specifies a get and set for that property, it throws an exception
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Micky Dionisio / Micky Dionisio (micky.dionisio)
Created: 08/26/2009
Components: Language, CF Interfaces
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 / 263135
Priority/Frequency: Major / All users will encounter
Locale/System: English / Platforms All
Vote Count: 0
Problem:
If a concrete class is using automatic getters/setters via cfproperty/property and that class is implementing an interface that specifies a get and set for that property, it throws an exception. I would suggest that if the class is using automatic accessors and the interface defines it, it should technically pass.
Method:
//concrete classcomponent implements="IPerson" {property string firstName;public Person function init(){return this;}}//interfaceinterface {public string function getFirstName();public void function setFirstName(string firstName);}
Result:
CFC Person does not implement the interface IPerson.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3039775
External Customer Info:
External Company:
External Customer Name: Micky Dionisio
External Customer Email: 59E23BAD476987309920154A
External Test Config: 08/26/2009
Attachments:
Comments: