Status/Resolution/Reason: Closed/Withdrawn/Duplicate
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 08/21/2014
Components: Language
Versions: 11.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Major / Some users will encounter
Locale/System: ALL / Platforms All
Vote Count: 0
Duplicate ID: CF-3811279
Repro:
https://gist.github.com/daccfml/f6143909ea4b839f5087
{code}
// TestInterface.cfc
interface {
public void function f(required numeric x);
}
{code}
Save this interface somewhere and browse straight to it. On CF9 & CF10 it gives the auto-generated API docs. On CF11 it gives me an error.
Error:
Cannot create interface.
Cannot create the /scribble/shared/scratch/blogExamples/cfml/script/test ColdFusion interface.
The error occurred in C:/Apps/Adobe/ColdFusion/11/cfusion/wwwroot/CFIDE/componentutils/cfcexplorer.cfc: line 295
293 :
294 : // bug 3646333, we should use create object here instead of directly using TemplateProxy. This is because, CreateObject does a proper check on type of file ( non component) being loaded as component.
295 : comp = CreateObject("component", HTMLEditFormat(newpath) );
296 : }
297 : } else {
Works fine on CF9 & CF10.
--
Adam
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3809485
External Customer Info:
External Company:
External Customer Name: Adam Cameron.
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: