cacheput() does not accept numeric value for timespan

Description

Trying to use cacheput() against an ehCache cache.

If I type:

cacheput("wibble", "blah", createtimespan(1,0,0,0), createtimespan(1,0,0,0), "test")

it works fine. But if I use:

cacheput("wibble", "blah", 1, 1, "test")

it throws the error:

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

The numeric value 1 should equate to a timespan of one day, and always has done previously. I'm not sure if this issue applies to other functions which take a timespan as an argument...

Environment

None

Activity

Show:
Michael Offner
June 6, 2016, 6:43 PM

cacheput is the only function taking a timespan as input, but we will check also tags.

Michael Offner
June 17, 2016, 3:52 PM
Fixed

Assignee

Michael Offner

Reporter

Seb Duggan

Priority

New

Labels

None

Fix versions

Affects versions

Configure