BoxLang: Our new JVM Dynamic Language made by Ortus! Check it out: https://www.boxlang.io

Issues

Select view

Select search mode

 
37 of 37

Can't set cookies using a struct

Fixed

Description

An error is thrown when you try to set a cookie using a struct:

The error thrown is Can't cast ortus.boxlang.runtime.types.Struct to a string.

Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Fix versions

Priority

Sentry

Created February 21, 2025 at 5:01 PM
Updated March 7, 2025 at 8:36 AM
Resolved February 21, 2025 at 9:57 PM

Activity

Show:

Martin WebbMarch 7, 2025 at 8:36 AM

With recent updates, the initial example given now appears to be working. However, if you try to set the ‘samesite’ property we get an error String [strict] cannot be cast to a boolean.

Brad WoodFebruary 21, 2025 at 9:57 PM

Good catch. This will be fixed on the next snapshot build.

Flag notifications