zackster
05/27/2022, 2:52 PMgavinbaumanis
05/30/2022, 8:48 AMthis.mappings["/dbsetup"] = "#this.basePath#/dbsetup/";
And when I dump the variables scope, inside the this struct is;
/dbsetup string /srv/www/app/dbsetup/
Where the path is shown, correctly.
If I attempt to go the URL;
<http://myApp.localhost:8080/dbsetup/index.cfm>
I get an error, stating the page can't be found because the dbsetup/index.cfm
is being appended to the Application Root, as you can see from the CGI scope;
cf_template_path string /srv/www/app/webroot/dbsetup/index.cfm
If I create the mapping within the Lucee Administrator, the mapping works correctly / as expected.
What am I missing?
Thanks!zackster
05/30/2022, 4:02 PMzackster
05/31/2022, 11:25 AMzackster
05/31/2022, 4:21 PMzackster
05/31/2022, 4:26 PMLeon Miller-Out
05/31/2022, 7:25 PMjava.lang.NoClassDefFoundError: Could not initialize class com.amazonaws.services.s3.S3CredentialsProviderChain
at com.amazonaws.services.s3.AmazonS3ClientBuilder.standard(AmazonS3ClientBuilder.java:46)
at org.lucee.extension.resource.s3.AmazonS3Client.create(AmazonS3Client.java:74)
at org.lucee.extension.resource.s3.AmazonS3Client.<init>(AmazonS3Client.java:69)
seandaniels
05/31/2022, 8:11 PMchris-schmitz
06/01/2022, 6:17 AMinclude cfm
-> include cfm
-> include cfm
-> include cfm
-> call CFC method
-> new mapped.path.OtherCFC()
. In the last cfm I can dump this.mappings
and everything is there, but in the CFC method none of those are available. I tried GetPageContext().getConfig().getApplicationMappings()
to see which mappings are available, but apparently that does not list app specific mappings.
Does anybody have an idea how I could go about finding out why the mappings are "missing" or how to fix that?zackster
06/01/2022, 8:05 AMzackster
06/01/2022, 10:45 AMalexpixl8
06/01/2022, 12:33 PMalexpixl8
06/01/2022, 12:33 PMzackster
06/01/2022, 1:22 PMzackster
06/01/2022, 1:24 PMgavinbaumanis
06/02/2022, 3:58 AMgavinbaumanis
06/02/2022, 4:58 AMnn/NN
and time markers are tt/TT
It then goes onto say at the bottom;
The function follows Java date time mask. For details, see the section Date and Time Patterns at
and then provides a link to an Oracle Java docs page.
However, the Oracle doc page has "mm" for minutes and t
doesn't even exist.
The Lucee Docs for parseDateTime()
are the same.
The Lucee Docs for lsParseDateTime()
- don't even show the mask - it just refers to you the Oracle docs.
If you use the Oracle Docs as "your" reference - you're code will give you the wrong results;
"mm" does NOT give you the minutes- it gives you the monthgavinbaumanis
06/02/2022, 7:39 AM<cfscript>
answersStr = {};
resultStr = {};
//Struct for answer 1
answersStr.insert("value", 30);
answersStr.insert("description", "Q1 Desc.");
//Add Answer 1 to result Struct
resultStr.insert("Q1", answersStr);
answersStr.clear();
answersStr.insert("value", 100);
answersStr.insert("description", "Q2 Description");
resultStr.insert("Q2", answersStr);
writeDump(resultStr);
</cfscript>
It gives the following output
What happened to the values for Q1?
They obviously got overridden by Q2 - but why?
If I dump it directly after the Q1 insert into resultStr I get Q1's correct data.
Struct
Q1 Struct
description string Q2 Description
value number 100
Q2 Struct
description string Q2 Description
value number 100gavinbaumanis
06/02/2022, 7:59 AMzackster
06/02/2022, 8:20 AMzackster
06/02/2022, 1:29 PMbdw429s
06/02/2022, 10:10 PMargumentCollection
with not all args supplied
• named arguments were used
• full null support is enabled
https://trycf.com/gist/b5724b0207694e00ed506327a066332d/lucee5?theme=monokairyan
06/03/2022, 8:49 PMCommunications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
Is there something I am doing wrong or is this possibly a bug?Andreas
06/05/2022, 9:42 PMdswitzer
06/06/2022, 7:38 PMContent-Transfer-Encoding
value as 7bit
and to conform with the mime message RFC, it automatically inserts new lines when a line is over 998 characters in length. However, this ends up breaking some minified CSS we inject into the message, because it's add a new line into a rule which ends up breaking the rest of the CSS.
I wrote up a thread on this:
https://dev.lucee.org/t/issue-with-cfmail-due-to-it-splitting-long-lines/10364
My current hack to resolving this is to just add new lines after every ending curly bracket (i.e. }
) in the minified CSS, but I'd like a better solution. I wish I could just change the message to use quoted-printable
for the message and then have Lucee not insert the newlines.
Anyone have any thoughts?gsr
06/09/2022, 9:42 PMwebsolete
06/09/2022, 10:53 PMgsr
06/09/2022, 11:15 PMgsr
06/09/2022, 11:16 PMwebsolete
06/09/2022, 11:34 PM