Title:
Bug 80395:(Watson Migration Closure)Interface with non-fully-qualified name is not implementable by CFC in a different folder
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/
Reporter/Name(from Bugbase): Henry Ho / Henry Ho (Henry Ho)
Created: 10/16/2009
Components: Language, CF Interfaces
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Normal / Unknown
Locale/System: English / Platforms All
Vote Count: 1
Problem:
Interface with non-fully-qualified name is not implementable by CFC in a different folder.
Method:
see \\10.192.26.224\c$\ColdFusion8\wwwroot\bugs\80395\*
create a folder called bugs in your webroot and copy folder 80395 into it
Run bug80395.cfm
// in \com\IHasUser.cfc:
interface {
User function getUser();
}
// in com\user\User.cfc
component extends="com.IHasUser" {
com.User function getUser();
}
Expected: should translate fully qualified type to satifiy interface, and User.cfc should have no error.
Actual: Error message: Return type mismatch.
Result:
Return type mismatch
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3040316
External Customer Info:
External Company:
External Customer Name: Henry Ho
External Customer Email: 237A22C24921EDF5992015B9
External Test Config: 10/16/2009
Attachments:
Comments: