Adam Cameron
<cfscript>
cfhttp(method="get", url="<https://example.com>", result="httpResponse")
</cfscript>
Syntax Error, Invalid Construct
Obvs there is not a syntax error in that. And it works fine in CF.
I could not find a bug in Jira that covers anything like this, but I'm certain it's been raised before.
(and before anyone starts, yes I know there are other Lucee-only constructs to achieve the same ends. This is not relevant here. It's that code that should work).bdw429s
05/14/2022, 9:15 PM{
Adam Cameron
Adam Cameron
bdw429s
05/14/2022, 9:17 PMAdam Cameron
Adam Cameron
bdw429s
05/14/2022, 9:24 PMbdw429s
05/14/2022, 9:24 PMbdw429s
05/14/2022, 9:24 PMAdam Cameron
Adam Cameron
Adam Cameron
Adam Cameron
That's not quite what I meant. If you put in a ticket that says "this specific tag doesn't work", [etc]I do think my observation about the testing kinda alludes to that situation. Although I'm not explicit about it. Sigh. All right... I'll update...
Adam Cameron
cfhttp
. It's all down to how they interpret the end of a statement. And in the case of the cfwhatevertag
implementation, they've not nailed it.
Poss down to the ones that can optionally take a block. Again... dunno... I dunno how they've implemented this. But they do.Matt Jones
05/16/2022, 1:38 PMAdam Cameron