Daniel Mejia
06/21/2022, 7:05 PMDaniel Mejia
06/21/2022, 7:48 PMbinder.mapDirectory('modules')
Brian
06/22/2022, 5:27 PMC:\Program Files\Box\ is not a package!
I've tried uninstalling it by deleting the binary, JRE, and .CommandBox directory and reinstalling it, but I get the same results. Google was no help. Any ideas on how to fix this, kind folks?zackster
06/23/2022, 1:58 PM{PWD:?pwd_env_var_must_be_defined}
Ryan Albrecht
06/24/2022, 12:30 AMthis.prehandler_only
as I still need the preHandler
advice to fire for the above handlersAdam Brunt
06/24/2022, 7:51 AMgpickin
06/24/2022, 3:58 PMlmajano
06/24/2022, 11:35 PMsknowlton
06/25/2022, 3:15 PMtype
do people use to validate dates for SQL datetimes? values like 20200101
pass the isValid( "date")
check, and I know there's usdate
but the lucee docs say not to use thatRobert Zehnder
06/29/2022, 2:27 PMexecute page.cfm
davidrschaller
06/29/2022, 2:33 PMRyan Albrecht
06/29/2022, 4:15 PMquery
Unfortunately it does not seem like quick honors this when using the retrieveQuery()
method. Is this the expected behaviour or am I missing somrthing?aaronstoddard
06/29/2022, 5:16 PMAdam Brunt
06/29/2022, 7:57 PMRobert Zehnder
06/30/2022, 1:03 PMdanmurphy
07/01/2022, 5:48 PMvar foundItem = getInstance( 'FoundItem' )
.where( 'id', rc.id )
.whereRaw( 'NVL(status, ''P'') = ''P''' )
.firstOrFail()
.getMemento();
But is there a way to just put this on my Quick Model directly so that it never tries to bring back a record with any other status and we don’t have to deal with it all over the place? That way I could just do var foundItem = getInstance( 'FoundItem' ).findOrFail( rc.id ).getMemento();
instead anywhere we need one. Thoughts?birdy1980
07/06/2022, 8:58 AMbirdy1980
07/06/2022, 1:23 PMserver service update name=sm1apc directory="C:/software/web/profit-tasks"
And Ii have set the same value in the server.json file.
But still in the windows event viewer the directory points to the /htdocs
folderScott Steinbeck
07/06/2022, 4:32 PMDaniel Mejia
07/06/2022, 6:12 PMjq
breaks when I use jamespath filter expressionsRyan Albrecht
07/07/2022, 2:15 PMtests.specs.intergration.CORSSpec
inherits tests.resources.ModuleIntergrationSpec
but the setup() method is not being executed by testbox.
• The second issue I face is that the majority of the tests do a cfhttp (hyper in this case) call to test/resources/app/index.cfm
which I understand is a separate coldbox application but I dont understand how the cors module is suppose to be loaded in that application.
My understanding about testbox is that all I have to do is start the server and hit tests/runner.cfm
and the existing tests should work. Am I missing something?Robert Zehnder
07/07/2022, 8:18 PMbox
window. The first time I run the command it will output files properly. If I run the command again it will look like it completed successfully, but the updates will not be applied. Doing a reload
and running the command works.Brian Lang
07/07/2022, 10:15 PMRyan Albrecht
07/08/2022, 12:37 PMthis.allowedMethods
structure in a handler OR if using the allowed methods annotation function index( event, rc, prc) allowedMethods="GET,POST" {...}
coldbox does not correctly check if it is an invalid event when calling event.isInvalidHTTPMethod()
inside an interceptor. The function call seems to always return false. Coldbox will however throw an InvalidHTTPMethod if the interceptor returns. Can anybody confirm my findings?Peter Amiri
07/08/2022, 5:03 PMAubrey C.
07/08/2022, 7:01 PMSingle-Stage With Script Finalization
You may also create this finalized startup script in a single-stage build:
FROM ortussolutions/commandbox:lucee5
# Generate the finalized startup script and exit
RUN export FINALIZE_STARTUP=true;$BUILD_DIR/run.sh;unset FINALIZE_STARTUP
Daniel Mejia
07/08/2022, 8:29 PM=> ERROR [13/18] RUN /usr/lib/build/util/alpine/install-dependencies.sh 0.6s
------
> [13/18] RUN /usr/lib/build/util/alpine/install-dependencies.sh:
#17 0.607 /bin/sh: /usr/lib/build/util/alpine/install-dependencies.sh: not found
------
executor failed running [/bin/sh -c $BUILD_DIR/util/alpine/install-dependencies.sh]: exit code: 127
madmike_de
07/11/2022, 2:41 PM