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...
cacheput is the only function taking a timespan as input, but we will check also tags.