Hi guys
Not sure if this is a bug.
I have this line:
<cfoutput>#renderView(view='/test/cache/includes/
snippet',cache=true,cacheTimeout="60",cacheLastAccessTimeout="30")#</
If i remove the cacheLastAccessTimeout arg it breaks (upon server
restart)
Error Type: Expression : [N/A]
Error Messages: The value '' cannot be converted to a number.
ID: CF_CAST
LINE: 337
Template: D:\Workspace\ref.l\web\coldbox\system\cache\providers
\CFProvider.cfc
It doesnt work until i add the argument back in. I can then remove it
and fwreinit with it still working.
This is my cachebox snippet
template = {
provider = "coldbox.system.cache.providers.CFColdBoxProvider",
properties = {
objectDefaultTimeout = 60,
objectDefaultLastAccessTimeout = 30,
useLastAccessTimeouts = true,
freeMemoryPercentageThreshold = 0,
reapFrequency = 2,
evictionPolicy = "LRU",
evictCount = 2,
maxObjects = 300,
objectStore = "ConcurrentStore " //guaranteed objects
}
},
Thanks