zackster
07/29/2022, 11:25 AMMatt Dyer
07/29/2022, 4:21 PMhemi345
07/29/2022, 6:18 PMgsr
07/30/2022, 1:28 AMzackster
07/30/2022, 9:36 AMzackster
07/30/2022, 11:53 AMzackster
08/01/2022, 8:17 AM[brackets]
this enables our grouping up in Sentry of related errors
and when there is a list of options, there should be a space between options i.e. [application, session]
not [application,session]
First word in an exceptions should also be Capitalized (edited)zackster
07/31/2022, 8:54 AMdanmurphy
08/01/2022, 10:33 PMreturntype="array"
parameter? Is there a way to do that by default at the application level so we don’t have to specify it on every query? If it does exist, I can’t seem to find it in the docs.zackster
08/02/2022, 4:56 PMzackster
08/02/2022, 5:49 PMdanmurphy
08/02/2022, 6:08 PMzackster
08/02/2022, 7:17 PMbirdy1980
08/05/2022, 9:15 AMisJson("7E58651173259DD1");
results in lucee.runtime.exp.NativeException: Too many nonzero exponent digits.
isJson("5E7770101309BD75");
results in lucee.runtime.exp.NativeException: Exponent overflow.
(tested on lucee deviant-lucee 5.3.9.146 )zackster
08/05/2022, 2:58 PMzackster
08/05/2022, 5:34 PMzackster
08/08/2022, 11:19 AMdswitzer
08/08/2022, 12:45 PMzackster
08/08/2022, 2:07 PMreturn (path contains "4004");
here to just run these tests https://github.com/lucee/Lucee/blob/5.3/ant/run-testcases.xml#L170Animesh Dutta
08/09/2022, 5:21 AMAdam Cameron
Adam Cameron
<cflog file="my.log">
(recap: despite being documented as not being implemented, this actually has been, and it "works"). This log file is not listed in /lucee/admin/web.cfm?action=server.logging
, which is in itself perhaps an issue, but I can poss understand how Lucee might decide it's not its business to manage custom logs. Or is this part of "not implemented"? Anyhow, not the main question here.
Given there's no way to set things like "Max Files" and "Max File Size (in bytes)" as one might for Lucee's own logs, should I take from this that Lucee will not do anything by way of log retention policy for these "custom" logs? (This would actually be exactly what I want to happen, in this case, as it happens).
There's no docs I can find one way or the other on this. Perhaps another symptom of "not implemented"?
To be clear (to try to focus replies staying on-topic), the question is this:
should I take from this that Lucee will not do anything by way of log retention policy for these "custom" logs?
Adam Cameron
brettpr
08/09/2022, 3:41 PMgbit
08/09/2022, 6:38 PMdswitzer
08/10/2022, 11:32 AMisNumeric()
with a value run through the numberFormat()
function. I would expect the following code to return true
, but it's returning `false`:
dump(isNumeric(numberFormat(-2360, "9,999.9")));
However, all of the following variations do return `true`:
dump(isNumeric(-2360));
dump(isNumeric(-2360.0));
dump(isNumeric("-2360.0"));
dump(isNumeric(numberFormat(-236, "9,999.9")));
Now strangely enough, it appears that ACF & Lucee both have the same behavior. You can see this behavior on TryCF:
https://www.trycf.com/gist/6928301c037034c917e8771700dad03c/lucee5?theme=monokai
Am I misunderstanding something or should isNumeric(numberFormat(-2360, "9,999.9"))
indeed be returning true
?lmajano
08/10/2022, 3:48 PMzackster
08/11/2022, 7:12 AMryan
08/11/2022, 5:15 PMsqr()
with an error returning ClassFormatError:Incompatible magic value 0 in class file lucee/runtime/functions/math/Sqr
? This is happening when a component is getting initialized, but the sqr
function is not yet executed in a different function further down in the component.
I have tested the sqr
function itself in commandbox::repl and it works fine, but receive an error when placed in a script component function, even when I plugged in a plane number and tried testing both the sqr
function and the sqr
member function with the following in my code.
testSquareRoot = sqr(25);
testSquareRoot = sqr(number=25);
testSquareRoot = (25).sqr();
zackster
08/12/2022, 11:35 AM