ColdFusion 10 cache bug

Written on 14 October 2014, 02:10pm

Tagged with: ,

After upgrading to ColdFusion 10 I noticed that the error timeToLive can't be negative is thrown for each query that was cached for more than 15 days.
This bug is already reported in the Adobe’s Bugbase: Error when using CFQUERY’s cachedWithin with value > 15 days
A quick workaround is to cache the query for less than 15 days; like that:

<cfquery name="myQuery" datasource="#dsn#" 

Starting to understand the frustration of the people commenting on the last ColdFusion 11 update:

… the current state of affairs is not good enough anymore in 2014. To be honest it already wasn’t good enough anymore in 2011 or 2012. You need to get your processes under control. … If your build and test process for CF is too cumbersome to do faster releases, it seriously needs to change or you’ll end up like the dinosaurs a few 100 million years ago — you’re trying to compete with modern web technology stacks/frameworks there and there should be an update every 4-6 weeks.

Update: a few hours after I wrote this, the status of the bug changed to ‘Fixed’ – as the CF 10 Update 14 was released.

Comments (1)

  1. jack — August 9, 2018 at 10:07

    Thank you for this back in 2014–helped me out TODAY!


Leave a response