arowolo
01/28/2022, 5:21 AMdswitzer
01/28/2022, 1:50 PMdswitzer
01/28/2022, 2:11 PMdswitzer
01/28/2022, 6:01 PMx
ends up getting encoded twice:
<cflocation url="/index.cfm?#(len(x) ? '&x=' & encodeForUrl(x) : '')#" />
However, if I change the code to:
<cfset y = "/index.cfm?#(len(x) ? '&x=' & encodeForUrl(x) : '')#" />
<cflocation url="#y#" />
I get the expected results.
It looks like Lucee is sometimes automatically encoding strings in the <cflocation /> tag, but ACF does not do that.
What is the expected behavior?dswitzer
01/28/2022, 6:07 PMzackster
01/31/2022, 11:58 PMjohnfarrar
02/01/2022, 1:52 PMdan.byron
02/01/2022, 2:57 PMSELECT id WHERE field IS NULL
worked initially, returning results, but after upgrade returned nothing
SELECT id WHERE field = ''
this is what I finally figured out works after upgrading
Just wondering if this is known, or am I the only one using QoQ still? 😄dswitzer
02/01/2022, 3:38 PM<cflocation />
under Lucee with regards to encoding? I'm finding that it sometimes automatically encodes parameters, but not in all situations. Automatic encoding of parameters breaks ACF compatibility, because ACF doesn't do this.
https://dev.lucee.org/t/cflocation-encoding-of-url/9606bdw429s
02/01/2022, 10:30 PMAdam Cameron
danmurphy
02/02/2022, 5:24 PMdavla
02/04/2022, 6:12 PMstring key [filecontent] doesn't exist
To try and mitigate this occasional error I run the cfhttp in a while loop and give it up to 4 attempts to call the api. However, I still see the above error more often than should be possible. Is there anything I can do to further mitigate this issue - is there an issue with cfhttp?Simone
02/04/2022, 11:29 PMfor(i in myquery) {
var aData = [];
st[aData]['RowNum'] = i.currentrow;
}
gert
02/05/2022, 7:26 AMzackster
02/06/2022, 7:50 PMzackster
02/07/2022, 12:29 PMSimone
02/07/2022, 10:48 PMthisOldDave
02/09/2022, 12:11 PMAdam Cameron
database
exception?
If has queryError
and Sql
(nice capitalisation btw) there, but that is not what was sent to the DB: it's a string with the param placeholders swapped out for the data values.Adam Cameron
thisOldDave
02/10/2022, 1:43 PMdanmurphy
02/11/2022, 11:33 PMbooleanFormat()
works?
https://trycf.com/gist/e63f40983cb86a0b178bcc1ff4e8215f/lucee5?theme=monokaiMarkus Wollny
02/14/2022, 4:16 PMAdam Cameron
allowMultiQueries
setting passed in the connection string).deactivateduser
02/15/2022, 5:52 PMsknowlton
02/16/2022, 6:58 PMryan
02/17/2022, 3:45 PMAdam Cameron
https://i2.paste.pics/8c44dba63d3e573a17e9e4db1733d2d8.png▾
cached
value. getMetadata
only returns column info, not stuff about the query object itself.
Note: I am not asking about the result
option that one can pass to a queryExecute
call. I only have the query object; I am not in control of the initial call, so I cannot use the result
.
Cheers.Adam Cameron
valueList
is marked as deprecated on Lucee (ref: https://docs.lucee.org/reference/functions/valuelist.html). Is it really for Lucee to be deprecating something in CFML, given it's up to Adobe what is and is not deprecated in their language? What's the perceived gain in marking it thus, other than making devs writing cross-platform from going "oh FFS". Which to me is not a gain.
(yes, I have read https://docs.lucee.org/reference/deprecated.html. That is not what I am asking).