Affects Version/s: 18.104.22.168
Fix Version/s: 22.214.171.124
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...