Fixed
Details
Assignee
Michael OffnerMichael OffnerReporter
Regan SimonsRegan SimonsPriority
BlockerFix versions
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
Sprint
NoneAffects versions
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Regan Simons
Regan SimonsPriority
Fix versions
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
Sprint
None
Affects versions
Created 16 January 2025 at 01:21
Updated 27 January 2025 at 21:07
Resolved 27 January 2025 at 21:07
Hi,
I’m getting casting errors in multiple places as we try to upgrade from lucee 5 to 6
The following works in 6.1.1.118 but breaks in 6.2.0.284 (but we can’t use 6.1.1.118 because of other issues)
<cfscript> cookiename = "test" //set cookie cfcookie( name=cookiename value="abc" domain="graph-local.proworkflow.com" preserveCase = true expires = 1, httponly= true , path = "/", secure="true" ); //later on logout structDelete(cookie, cookiename ); </cfscript>
I get the error
class javax.servlet.http.Cookie cannot be cast to class lucee.loader.servlet.jakarta.CookieJavax (javax.servlet.http.Cookie and lucee.loader.servlet.jakarta.CookieJavax are in unnamed module of loader java.net.URLClassLoader @1cf4f579)