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

Application.cfc cache without Custom struct isn't created and no error thrown

    Details

    • Type: Bug
    • Status: Deployed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.1.2
    • Labels:
      None

      Description

      A cache defined in Application.cfc that doesn't have a Custom struct is silently ignored and not created.

      This is ignored:

      this.cache[ 'foo' ] = {
      	class = 'lucee.runtime.cache.ram.RamCache'
      };
      

      But this isn't:

      this.cache[ 'foo' ] = {
      	class = 'lucee.runtime.cache.ram.RamCache',
      	custom={}
      };
      

        Attachments

          Activity

            People

            • Assignee:
              michaeloffner Michael Offner
              Reporter:
              bdw429s Brad Wood
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: