tracker issue : CF-3160217

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

ContentBox another ColdBox application will not run on CF10 but runs fine on CF9.01 and railo

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/NotABug

Reporter/Name(from Bugbase): Andrew Scott / Andrew Scott (Andrew Scott)

Created: 04/07/2012

Components: Language, Framework Support

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Public Beta /

Priority/Frequency: Major / Most users will encounter

Locale/System: English / Windows 7

Vote Count: 0

Problem Description:

The following will not work on ColdFusion 10, with IIS connectors. However this will work on CF 9 and railo.

https://github.com/Ortus-Solutions/ContentBox

I have two servers one running ColdFusion 9, and one with ColdFusion 10. Both have ContentBox installed, and it runs fine on the ColdFusion 9.01 server, but throws the following error in ColdFusion 10. ContentBox has been tested on ColdFusion 9 and Railo. All configurations are identical.

Error importing routes configuration file: Error loading module routes as the module requested 'blog' is not loaded. The loaded modules are: contentbox-admin,contentbox-ui,contentbox,contentbox-installer,contentbox-filebrowser

[{RAW_TRACE={	at cfFrameworkSupertype2ecfc1621839809$func$THROW.runFunction(D:/Projects/ColdFusion/ContentBox/coldbox/system/FrameworkSupertype.cfc:445)},ID={CFTHROW},TEMPLATE={D:/Projects/ColdFusion/ContentBox/coldbox/system/FrameworkSupertype.cfc},LINE={445},TYPE={CFML},COLUMN={0}}, {RAW_TRACE={	at cfSES2ecfc1451432133$funcADDMODULEROUTES.runFunction(D:/Projects/ColdFusion/ContentBox/coldbox/system/interceptors/SES.cfc:188)},ID={CF_UDFMETHOD},TEMPLATE={D:/Projects/ColdFusion/ContentBox/coldbox/system/interceptors/SES.cfc},LINE={188},TYPE={CFML},COLUMN={0}}, {RAW_TRACE={	at cfRoutes2ecfm149068073.runPage(C:/ColdFusion10/cfusion/wwwroot/config/Routes.cfm:15)},ID={CF_UDFMETHOD},TEMPLATE={C:/ColdFusion10/cfusion/wwwroot/config/Routes.cfm},LINE={15},TYPE={CFML},COLUMN={0}}, {RAW_TRACE={	at cfFrameworkSupertype2ecfc1621839809$func$INCLUDE.runFunction(D:/Projects/ColdFusion/ContentBox/coldbox/system/FrameworkSupertype.cfc:469)},ID={CFINCLUDE},TEMPLATE={D:/Projects/ColdFusion/ContentBox/coldbox/system/FrameworkSupertype.cfc},LINE={469},TYPE={CFML},COLUMN={0}}, {RAW_TRACE={	at cfSES2ecfc1451432133$funcINCLUDEROUTES.runFunction(D:/Projects/ColdFusion/ContentBox/coldbox/system/interceptors/SES.cfc:320)},ID={CF_UDFMETHOD},TEMPLATE={D:/Projects/ColdFusion/ContentBox/coldbox/system/interceptors/SES.cfc},LINE={320},TYPE={CFML},COLUMN={0}}, {RAW_TRACE={	at cfSES2ecfc1451432133$funcIMPORTCONFIGURATION.runFunction(D:/Projects/ColdFusion/ContentBox/coldbox/system/interceptors/SES.cfc:1277)},ID={CF_UDFMETHOD},TEMPLATE={D:/Projects/ColdFusion/ContentBox/coldbox/system/interceptors/SES.cfc},LINE={1277},TYPE={CFML},COLUMN={0}}, {RAW_TRACE={

The error occurred in D:/Projects/ColdFusion/ContentBox/coldbox/system/FrameworkSupertype.cfc: line 445
Called from D:/Projects/ColdFusion/ContentBox/coldbox/system/interceptors/SES.cfc: line 323
Called from D:/Projects/ColdFusion/ContentBox/coldbox/system/interceptors/SES.cfc: line 1277
Called from D:/Projects/ColdFusion/ContentBox/coldbox/system/interceptors/SES.cfc: line 68
Called from D:/Projects/ColdFusion/ContentBox/coldbox/system/web/services/InterceptorService.cfc: line 192
Called from D:/Projects/ColdFusion/ContentBox/coldbox/system/web/services/InterceptorService.cfc: line 100
Called from D:/Projects/ColdFusion/ContentBox/coldbox/system/web/services/InterceptorService.cfc: line 71
Called from D:/Projects/ColdFusion/ContentBox/coldbox/system/web/services/LoaderService.cfc: line 77
Called from D:/Projects/ColdFusion/ContentBox/coldbox/system/Coldbox.cfc: line 71
Called from D:/Projects/ColdFusion/ContentBox/Application.cfc: line 78
443 : 		<cfargument name="detail" 	type="string" 	required="no" default="">
444 : 		<cfargument name="type"  	type="string" 	required="no" default="Framework">
445 : 		<cfthrow type="#arguments.type#" message="#arguments.message#"  detail="#arguments.detail#">
446 : 	</cffunction>
447 : 



Steps to Reproduce:

Actual Result:

Expected Result:

Any Workarounds:

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

Watson Bug ID:	3160217

External Customer Info:
External Company:  
External Customer Name: ascott67
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments:

The line of code it is breaking on is another include as per the previous bug this one too is a problem. It is trying to load the following file $include("/config/routes.cfm") The includes is a wrapper for <cfinclude /> What it appears to not be doing is taking the / and going from the application root directory, but trying to include from the current directory.
Comment by External U.
19763 | April 07, 2012 02:27:28 AM GMT
Btw this is in the same area of ColdBox that the problem with include("///somefile.cfm"); was fixed. Please see CF10 Hotfix 3 for the bug number.
Comment by External U.
19764 | April 07, 2012 02:29:04 AM GMT
This is also stopping any ColdBox / ContentBox application from running, and is core working code. Which means we will need another hotfix for this issue when found and fixed.
Comment by External U.
19765 | April 07, 2012 02:30:14 AM GMT
Customer has confirmed that the hotfix 3 was not installed\downloaded properly and hence the error. Closing this. (Comment added from ex-user id:sagarg)
Comment by Adobe D.
19766 | April 11, 2012 06:05:20 AM GMT