Jason Ryan
09/19/2022, 6:36 PMspecs
folder with a couple files, and my own runner.cfm
which includes /dependencies/testbox/system/runners/HTMLRunner.cfm
. The problem is that HTMLRunner.cfm
can't resolve testbox.system.TestBox
because the file as a whole is being included inside my own folder. If I'm not mistaken, it would need to instead be referencing dependencies.testbox.system.TestBox
.
Is there a standard way to do this that I'm missing? Or perhaps a CFML trick to get the dependency to resolve relative to the cfincluded file?
Thanks!paolo79
09/20/2022, 10:34 AMpaolo79
09/20/2022, 10:40 AMFormiko
09/20/2022, 11:13 AMjoechastain
09/20/2022, 11:45 AMsetView
call in the handler?richard.herbert
09/21/2022, 10:04 AMinvalidHTTPMethodHandler()
setup in my Coldbox.cfc
to call my base handler, like so, invalidHTTPMethodHandler : 'v1:BaseHandler.onInvalidHTTPMethod'
In there I'd like to call the restHandler
invalidHTTPMethodHandler()
and tweak it a bit.
I started by trying...
function onInvalidHTTPMethod( event, rc, prc, faultAction, eventArguments ) {
coldbox.system.RestHandler.onInvalidHTTPMethod( event, rc, prc, faultAction, eventArguments );
}
...but get Page /views/Authentication/signin.cfm ... not found
So how can I capture the framework onInvalidHTTPMethod()
and tweak it to my needs?wil-shiftinsert
09/21/2022, 1:09 PMrichard.herbert
09/21/2022, 3:48 PMcomponent restHandler {
...
}
nolanerck
09/21/2022, 4:21 PMelpete
09/21/2022, 4:49 PMelpete
09/21/2022, 4:50 PMrc
or prc
variables on, you need to pass the keys to persist
elpete
09/21/2022, 4:51 PMrelocate( event = "foo", persist = "one,two" /* rc.one, rc.two */ );
elpete
09/21/2022, 4:52 PMnolanerck
09/21/2022, 5:18 PMnolanerck
09/21/2022, 5:18 PMelpete
09/21/2022, 5:18 PMelpete
09/21/2022, 5:19 PMrc
struct.elpete
09/21/2022, 5:19 PMrc
scope has email
, password
, and rememberMe
, those are the options you can pass to persist
.jacek
09/21/2022, 6:15 PMlucee.runtime.exp.NativeException: Can't create file [/[edited]/.CommandBox/server/B18E5DC7678B7F6610D548E1266C7E3B-[edited]/lucee-5.3.9.141/WEB-INF/lucee-web/cfclasses/RPC/V41d6f5ff26589bafd0e9056efd7641284276.class], file already exists
full stack trace in threadbdw429s
09/27/2022, 5:07 PMOokma-Kyi
09/27/2022, 6:38 PMCommandBox> migrate install
ERROR (5.5.2+00578)
Invalid Syntax Closing [}] not found
\modules\commandbox-migrations\models\BaseMigrationCommand.cfc: line 88
86: // Check and see if a .cfmigrations.json file exists
87: if ( fileExists( "#directory#/.cfmigrations.json" ) ) {
88: variables.cfmigrationsInfo = deserializeJSON( fileRead( "#directory#/.cfmigrations.json" ) );
89: variables.systemSettings.expandDeepSystemSettings( variables.cfmigrationsInfo );
90: variables.cfmigrationsInfoType = "cfmigrations";
called from \modules\commandbox-migrations\models\BaseMigrationCommand.cfc: line 11
called from \modules\commandbox-migrations\commands\migrate\install.cfc: line 15
called from \system\services\CommandService.cfc: line 443
called from \system\services\CommandService.cfc: line 225
called from \system\Shell.cfc: line 819
called from \system\Shell.cfc: line 634
called from \system\Bootstrap.cfm: line 160
To enable full stack trace, run config set verboseErrors=true
I tried the following commands and neither fixed the issue:
install
migrate init
migrate install
migrate down
migrate up
Any ideas? None of the files related to migrations has been touched in awhile, so why it would have syntax errors is beyond me.Ookma-Kyi
09/28/2022, 2:36 AMelpete
09/28/2022, 3:46 AMbox.json
.zackster
09/28/2022, 11:33 AMKannan
09/28/2022, 3:24 PMraymondcamden
09/29/2022, 7:02 PMnolanerck
09/29/2022, 10:57 PM