Ookma-Kyi
08/23/2022, 3:51 PMCommand "migrate install" cannot be resolved.
Please type "help" for assistance.
CommandBox>
What the hell happened to my installation??? I literally zipped the entire source directory up, so I shouldn't be having these issues.Peter Amiri
08/23/2022, 5:47 PMinstall cfwheels-base-template@2.3.0
Then issue an update command:
update
and the results I see shows there is a newer version but it doesn't give an update to update to it:
❯ update
Resolving Dependencies, please wait...
╔════════════════╤═══════════╤════════╤════════╤═══════════╗
║ Package │ Installed │ Update │ Latest │ Location ║
╠════════════════╪═══════════╪════════╪════════╪═══════════╣
║ cfwheels@2.3.0 │ 2.3.0 │ 2.3.0 │ 2.4.0 │ /cfwheels ║
╚════════════════╧═══════════╧════════╧════════╧═══════════╝
Key: Update Available Major Update Available
There are no outdated dependencies!
I feel like, I'm missing something in my packages submitted to ForgeBox that says something to the effect of "Updates version 2.3.0".Ookma-Kyi
08/23/2022, 6:46 PMField 'username' doesn't have a default value
This is the code I am using.
// create Action
function create( event, rc, prc ){
...
var token = generateRandomToken();
var now = Now();
var expiration =DateAdd("d", 1, now);
var user = getInstance( "User" )
.firstWhere( "email", rc.email )
if( !isNull( user ) ) {
user.setToken( token )
.setExpiration( expiration )
.save();
}
relocate( uri = "/login" );
}
I don't see what that has to do with what I'm trying to do.bhartsfield
08/24/2022, 1:21 AMDavid Rogers
08/24/2022, 3:48 PMgetInstance
passed to init arguments, I think they may not be available though, maybe I am misunderstanding or this is by design.
// coldbox/system/ioc/Injector.cfc
case "provider": {
// verify if it is a simple value or closure/UDF
if ( isSimpleValue( arguments.mapping.getPath() ) ) {
oModel = getInstance( arguments.mapping.getPath() ).$get();
} else {
var closure = arguments.mapping.getPath();
oModel = closure( injector = this ); // initArguments not passed here?
}
break;
}
Anders Lars
08/24/2022, 3:49 PMOokma-Kyi
08/24/2022, 9:03 PMryan
08/25/2022, 6:20 PMgpickin
08/26/2022, 4:01 PMbdw429s
08/26/2022, 7:02 PMBrian
08/26/2022, 7:14 PMrichard.herbert
08/28/2022, 12:56 PMThe web page at *<http://localhost:8500/reports/deliveredby/hand>* might be temporarily down or it may have moved permanently to a new web address. ERR_INVALID_RESPONSE
That code being...
public void function deliveredByHand( event, rc, prc ) {
prc.members = MemberService
.getMembersByHandDelivery();
cfheader( name='content-disposition' value='attachment;filename="Delivered by Hand.pdf"' );
event.renderData(
data=renderView( 'reports/deliveredbyhand' )
,type='pdf'
,pdfArgs={ pagetype:'A4', unit:'cm', margintop:'1', marginbottom:'1',marginleft:'1', marginright:'1' }
);
return;
}
Either, what have I been wrong all this time, or what has changed in v6.3 and how should I change my code?
Thoughts and advice welcomed.gpickin
08/29/2022, 4:06 PMgpickin
08/29/2022, 7:00 PMDaniel Mejia
08/30/2022, 12:56 AMOokma-Kyi
08/30/2022, 7:48 PMpaolo79
08/31/2022, 2:09 PMpaolo79
08/31/2022, 2:10 PMaaronstoddard
08/31/2022, 7:38 PMdanmurphy
08/31/2022, 10:25 PM/resources/assets/js/app.js
file and /resources/assets/css/scs-main.css
file. Coldbox-elixir seems to be creating a /includes/css/scs-main.js
file and I obviously don’t want it to. Am I doing something weird with my config? (details in thread)bdw429s
09/01/2022, 5:44 PMraymondcamden
09/01/2022, 8:19 PMPeter Hoopes
09/02/2022, 1:43 AMglook
09/02/2022, 1:32 PMJason Ryan
09/02/2022, 7:11 PMbox-light
to usr/local/bin
so I can run box commands (like box install commandbox-migrations
) but box
command isn't found. I'm definitely missing something, just don't know what 🤔
Here's what I have so far in the Dockerfile:
RUN wget https://s3.amazonaws.com/downloads.ortussolutions.com/ortussolutions/commandbox/5.5.2/box-light
RUN jar xvf box-light
RUN mv box-light /usr/local/bin/box-lightrichard.herbert
09/03/2022, 5:13 PMcoldbox create app myApp rest-hmvc
and it's created the endpoints as /api/v1/echo/
but with my app I want it to present as /v1/echo/
but keep the /modules_app/api/modules_app/v1/handlers/Echo.cfc
structure in the OS.
I'm struggling to get the /api/
out of the /api/v1/
route.
What am I missing?bdw429s
09/03/2022, 9:44 PMchapmandu
09/05/2022, 1:26 AMlucee.runtime.exp.RequestTimeoutException: request /ping.cfm (/app/ping.cfm) has run into a timeout (timeout: 80 seconds) and has been stopped. The thread started 60693ms ago.
since upgrading to commandbox 5.6.. I am not getting a response from any page in 2 separate DEV applications. Reverting to commandbox=5.5.2-1 for the time being, under which pages return the expected response.