birdy1980
05/06/2022, 11:13 AM/api/*
On Commandbox 5.5.1 I suddenly get a 404 not found
.
I'll try to create a demo project to have a simple way of reproducing the problemsknowlton
05/06/2022, 5:58 PMcookieStorage.getKeys()
be an array of all the keys you see if you writedump( cookie );
?bhartsfield
05/06/2022, 7:11 PMBrian Meloche
05/06/2022, 11:38 PMgpickin
05/10/2022, 4:57 PMcfvonner
05/10/2022, 5:15 PMZac Warner
05/10/2022, 11:23 PM// *** this line below **
component extends="coldbox.system.RestHandler" {
function createPasswordChangeRequest(event,rc,prc){
//Authenticate User
var result = userService.createPasswordChangeRequest(argumentCollection=rc);
//Configure Results
prc.response.setData(queryToArray.convert(result,"lowercase"));
};
}
that's my handler
or if I change in our email service this Renderer.renderLayout to just a string I don't get the error either.
component
threadSafe = "true"
output = false
hint = "mail service help to mailService@cbmailservices" {
property name="cbMailService" inject="mailService@cbmailservices";
property name="Renderer" inject="Renderer@coldbox";
property name="ENVIRONMENT" inject="coldbox:setting:ENVIRONMENT";
property name="CONFIG" inject="coldbox:configSettings";
emailService function init(){
return this;
}
public struct function send(required string layoutName, required string viewName, required struct settings, string type) {
// Create mail service object
var emailPayload = cbMailService.newMail();
// Set the settings
emailPayload.setTo(<http://ARGUMENTS.settings.to|ARGUMENTS.settings.to>);
emailPayload.setFrom(ARGUMENTS.settings.from);
emailPayload.setSubject(ARGUMENTS.settings.subject);
// ******** these lines *****
emailPayload.setText(Renderer.renderLayout(layout="email/referencecenter.text",view="email/"&ARGUMENTS.viewName&".text"));
emailPayload.setHtml(Renderer.renderLayout(layout="email/referencecenter.html",view="email/"&ARGUMENTS.viewName&".html"));
//*********************
var result = cbMailService.send(emailPayload);
return result;
}
any insight would be super appreciated I would love to be able to use the coldbox.system.resthandler and renderer.renderlayout together but I keep getting that error response.aliaspooryorik
GetTemplatePath
in there which currently in ColdBox https://github.com/ColdBox/coldbox-platform/blob/development/system/web/config/ApplicationLoader.cfc#L177 expect it works just fine but just flagging in case it's useful 🙂 `https://helpx.adobe.com/coldfusion/deprecated-features.htmlwebsolete
05/11/2022, 2:38 PM"scripts":{
"preServerStart":"cp \"\\\\servername\\folder\\subfolder\\\" \".\\certs\\\""
}
works:
"scripts":{
"preServerStart":"cp \"T:\\folder\\subfolder\\\" \".\\certs\\\""
}
where T: is simply mapped to \\servername\
is there some special syntax i'm missing for using unc paths here?sknowlton
05/11/2022, 4:45 PMonRequestStart()
the app gets. Sometimes it races ahead of Coldbox bootstrapping and so Wirebox and Coldbox are there but they're not done loading modules. What's the easiest way to say 'hey Coldbox, are you totally done loading everything?' or should we just set some app scope variable in afterAspectsLoaded()
or someplace like thatteaman
05/11/2022, 9:31 PMBrian
05/13/2022, 2:37 PMdanmurphy
05/13/2022, 3:47 PMJonas Eriksson
05/15/2022, 9:16 AMsudo apt-get install apt-transport-https commandbox
) it won't start anymore with the following error msg: (see thread)Jonas Eriksson
05/15/2022, 9:37 AMsknowlton
05/16/2022, 2:10 PMtrue
and false
because of this:
// Strict Type Boolean Values
else if ( !isNumeric( thisValue ) && isBoolean( thisValue ) ) {
result[ thisAlias ] = javacast( "Boolean", thisValue );
}
Is there a way to tell mementifier not to do that other than using a mapper for every column?sknowlton
05/16/2022, 2:10 PMteaman
05/16/2022, 5:28 PMDaniel Mejia
05/17/2022, 3:20 AM"repository": {
"type": "git",
"URL": "<https://github.com/webmandman/XYZ>"
}
folder structure :
src/
lib/
models/
ModuleConfig.cfc
coldbox-example-app/
non-coldbox-example-app/
box.json
teaman
05/17/2022, 7:45 AMCommandBox> start
| sword: |ng Server
bash: /private/etc/hosts: Permission denied
bash: /private/etc/hosts: Permission denied
bash: /private/etc/hosts: Permission denied
× | Starting Server
|------------------------------ | Adding host 'sb' to your hosts file! | Oh my! Something went wrong when trying to modify the hosts file!
| Adding host '<http://dev.sb|dev.sb>' to your hosts file!
| Oh my! Something went wrong when trying to modify the hosts file!
| Adding host 'sb.local' to your hosts file!
| Oh my! Something went wrong when trying to modify the hosts file!
|------------------------------
| √ | Setting Server Profile to [production]
ERROR (5.5.1+00562)
The host name [sb] can't be found. Do you need to add a host file entry?
sb
satauros
05/17/2022, 9:21 AMgpickin
05/17/2022, 5:02 PMPatrick
05/18/2022, 1:43 AMseandaniels
05/18/2022, 2:42 PMThis feature *ONLY* works when you are using a distributed cache like redis, mongo, elastic, couchbase or a JDBC CacheBox provider in CacheBox.
Is this referring to the default cache in CacheBox? Or does the scheduler have it's own cache?chris-schmitz
05/19/2022, 3:20 PMcommandbox-hostupdater
module... I just don't have the time to do any CommandBox related stuff any more. To be honest, I haven't used CB in 2 or 3 years, except for a short demo case every now and then.
So I just handed the project over to @bdw429s and Ortus, so anybody using it can be sure to receive updates and fixes in a timely manner.bdw429s
05/19/2022, 3:21 PMjakobward
05/19/2022, 3:43 PMbhartsfield
05/20/2022, 8:04 PMbdw429s
05/20/2022, 10:39 PM