Lucee 5.0 - cfcache tag - String not cast into Timespan

I have a test environment I upgraded to Lucee 5.0 and in that environment
code that has always worked in the past now has an error.

java.lang.String cannot be cast to lucee.runtime.type.dt.TimeSpan

The code that errors out is:

This should indicate 7 days of caching but the “7” is now not converted
into TimeSpan. It seems like it is related to LDEV-875.

Thanks,
John.

I believe that’s the bug that Micha fixed in the Lucee Deep Dive session at
Dev Objective.
https://luceeserver.atlassian.net/browse/LDEV-875

Fixed in 5.0.1.12 and later.

-GOn Fri, Jul 29, 2016 at 12:56 AM, John Yorke <@John_Yorke> wrote:

I have a test environment I upgraded to Lucee 5.0 and in that environment
code that has always worked in the past now has an error.

java.lang.String cannot be cast to lucee.runtime.type.dt.TimeSpan

The code that errors out is:

This should indicate 7 days of caching but the “7” is now not converted
into TimeSpan. It seems like it is related to LDEV-875.

Thanks,
John.


Get 10% off of the regular price for this years CFCamp in Munich, Germany
(Oct. 20th & 21st) with the Lucee discount code Lucee@cfcamp. 189€
instead of 210€. Visit
https://ti.to/cfcamp/cfcamp-2016/discount/Lucee@cfcamp

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/b3295fad-6dbe-429c-b647-5ff2337369de%40googlegroups.com
https://groups.google.com/d/msgid/lucee/b3295fad-6dbe-429c-b647-5ff2337369de%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.