zackster
07/20/2022, 10:33 AMfalse
from a testbox beforeAll()
method to disable/skip the entire suite? https://ortussolutions.atlassian.net/browse/TESTBOX-345aliaspooryorik
aliaspooryorik
describe(
title = "A Lucee only suite",
body = function(){
it( "should only execute for Lucee", function(){
expect( server ).toHaveKey( "Lucee" );
} );
},
skip = ( !isLucee() )
);
Peter Amiri
07/20/2022, 9:37 PMbirdy1980
07/21/2022, 10:50 AMMarco Liverani
07/21/2022, 2:36 PMbirdy1980
07/21/2022, 3:25 PMserver info
and server status
?birdy1980
07/22/2022, 5:51 AMdanlance
07/22/2022, 12:25 PMjclausen
07/22/2022, 12:53 PMeclipse-temurin
images are available for that version ( currently the last build of 11 is 11.0.15 - https://hub.docker.com/_/eclipse-temurin?tab=tags&page=1&name=11.0.16 ), I can build a new image with that as the base. I’m not sure when that will be, but I suspect in the next few days.Ookma-Kyi
07/22/2022, 2:26 PMCommunications link failure The last packet successfully received from the server was 1 milliseconds ago. The last packet sent successfully to the server was 1 milliseconds ago.
I am able to migrate install, up, down, uninstall the database successfully via the Coldbox CLI so my database credentials are set up and a link is established I presume.
Any ideas?
UPDATE: Going into the server admin, Datasources-><Datasource> and just clicking update with no setting being changed fixes the issue. However this has to be done every time so it's not a real fix but, a workaround. Also with not having to change anything in the datasources setting, it only confirms that my .env file's database credentials are in fact correct.birdy1980
07/25/2022, 11:15 AMdomwatson
07/25/2022, 11:16 AMOokma-Kyi
07/25/2022, 9:32 PMcaldjeff
07/25/2022, 11:33 PMaliaspooryorik
development
environment function moduleSettings.sentry.enableExceptionLogging = false;
to override the setting from the main moduleSettings
. The other option (I think) is to append to the modules.exclude
array (for dev). So wondering what the smart folks do 🙂 Thanksbhartsfield
07/26/2022, 12:44 PMBrandon Edwards
07/26/2022, 5:16 PMlist()
function to just call wirebox.getInstance("Rant@v6")
100 times, and it takes about 1500ms (not including any framework init processes).
Alternatively, is there a way to inject mementifier and cbvalidation functionality into an object without using Wirebox?Daniel Mejia
07/26/2022, 9:04 PMchris_hopkins
07/27/2022, 9:13 AMthisOldDave
07/27/2022, 10:57 AMinvalid component definition, can't find component [mxunit.framework.TestCase]
. its fine if I run the generate command in a server with an /mxunit (pointing to /testbox/system/compat
of course 😉 ) mapping but I am running this as a box docbox generate...
is there any way I can supply the mapping to box.exe?Daniel Mejia
07/27/2022, 6:09 PMbirdy1980
07/28/2022, 12:12 PMCarlos Guzman
07/28/2022, 3:08 PMcontentbox install-wizard
I get to the point where it gives me this error, is there anything that I am missing? I have checked the credentials and the host name and apparently everthing is ok.Daniel Mejia
07/28/2022, 5:41 PM❯ server forget --all --force
Can't delete file [E:\CommandboxHome\server\DA7F43423BCFDE8421F0B9A6A478DB2E-api\adobe-2021.0.3.329779\cf_scripts\cfclient\dnfi\ios\plugins\cordova-plugin-file\www\FileWriter.js]
Did you leave the server running?
Daniel Mejia
07/28/2022, 8:08 PM[38;5;9m[1mYou specified named parameters: serverConfigFile,directory,name but you did not specify a name for: 1
server start name='Staging 1 Api' directory='E:/sites/apistaging1/' serverConfigFile='E:/sites/apistaging1/server.json' --console --verbose --noSaveSettings --noOpenBrowser --noTrayEnable[0m
Daniel Mejia
07/28/2022, 10:33 PM2022-07-28 15:12:27 coldbox.system.web.services.HandlerService The invalidEventHandler event (Error.onInvalidEvent) is also invalid: | ExtraInfo: {"ROUTE":"","CALLSTACK":[{"Template":"E:\\sites\\api\\coldbox\\system\\web\\services\\HandlerService.cfc","LineNumber":"470","Function":"INVALIDEVENT"},{"Template":"E:\\sites\\api\\coldbox\\system\\web\\services\\HandlerService.cfc","LineNumber":"333","Function":"GETHANDLERBEAN"},{"Template":"E:\\sites\\api\\coldbox\\system\\web\\Controller.cfc","LineNumber":"753","Function":"_RUNEVENT"},{"Template":"E:\\sites\\api\\coldbox\\system\\web\\Controller.cfc","LineNumber":"658","Function":"RUNEVENT"},{"Template":"E:\\sites\\api\\coldbox\\system\\Bootstrap.cfc","LineNumber":"290","Function":"PROCESSCOLDBOXREQUEST"},{"Template":"E:\\sites\\api\\coldbox\\system\\Bootstrap.cfc","LineNumber":"507","Function":"ONREQUESTSTART"},{"Template":"E:\\sites\\api\\Application.cfc","LineNumber":"42","Function":"ONREQUESTSTART"}],"FULLEVENT":".","REQUESTEVENT":"","ROUTEDURL":"","REGISTEREDHANDLERS":"customRestHandler,Error,Main","EVENT":""}
David Rogers
07/29/2022, 3:11 PMfunction openInEditorURL(
required template,
required line,
editor = "vscode"
){
switch ( arguments.editor ) {
case "vscode":
return "<vscode://file/#arguments.template#:#arguments.line#>";
is there a way to remap template
, e.g. from /dev-container-root/app/*
to /host-machine/actual-root/*
(assuming * is consistent between the two, there's just a different prefix)Ookma-Kyi
07/29/2022, 7:57 PMusername
field to the user model. How do I access it after the user is logged in inside a view? I tried #user.username#
and #auth.user.username#
with no success.