Uploaded image for project: 'Lucee Development'
  1. LDEV-907

cachedwithin with an timespan of zero no longer clears cache

    Details

    • Type: Bug
    • Status: Deployed
    • Priority: New
    • Resolution: Fixed
    • Affects Version/s: 5.0.0.252, 5.1.0.17, 5.2.1.9
    • Fix Version/s: 5.2.2.56
    • Labels:
      None
    • Environment:

      Ubuntu 12.04, 16.04

    • Sprint:
      May-June 2017 Sprint

      Description

      On Lucee 4.5, <cfquery cachedwithin="#createTimeSpan(0,0,0,0)#"> would run the query without caching, effectively clearing the cache for that query. In Lucee 5, cached results are returned. This breaks my standard cache-busting strategy in my legacy code.

      Workaround: don't use cachedwithin.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                21solutions Igal Sapir
                Reporter:
                sb_leon Leon Miller-Out
              • Votes:
                13 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: