Uploaded image for project: 'Commons JEXL'
  1. Commons JEXL
  2. JEXL-100

Array access expressions fail when evaluated twice and cache is enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.0
    • 2.0.1
    • None

    Description

      When caching is enabled, a cached array expression using an integer literal will fail at evaluation, the integer literal throwing an exception trying to coerce a ListGetExecutor to Integer.
      Sole workaround is to disable cache entirely which is not always possible; critical!

      Attachments

        Activity

          People

            henrib Henri Biestro
            henrib Henri Biestro
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: