Fixed
Details
Details
Assignee
Pothys - MitrahSoft
Pothys - MitrahSoftReporter
Michael Offner
Michael OffnerPriority
Labels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Created 1 February 2024 at 14:00
Updated 6 February 2024 at 13:15
Resolved 6 February 2024 at 13:13
We have observed an issue with the Elvis Operator (
?:
) in the Lucee CFML language where it intermittently fails or behaves unexpectedly. This issue appears to occur when a variable involved in the Elvis Operator expression is either deleted or created concurrently while the expression is being evaluated.Detailed Description: The Elvis Operator is designed to return the value of its first operand if it exists and is not null, and otherwise return the value of its second operand. However, under certain conditions involving concurrent modification of variables (either creation or deletion), the operator does not perform as expected it throws an exception.
Steps to Reproduce: A test case that demonstrates this issue can be found in our test suite: Elvis Operator Test Case