Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2748

Mutating the list returned from the local query cache changes the cache

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.1.1, 4.2.RC1, 5.0-M1
    • 5.0-M1
    • Core Library
    • None
    • Patch

    Description

      If you perform a query that populates the local query cache and then mutate the returned list (by adding an object), this mutation will persist inside the local query cache so that subsequent queries that hit the local query cache will incorrectly include this mutation. 

      Attachments

        Activity

          People

            johnthuss John Huss
            johnthuss John Huss
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Time Spent - 1h Remaining Estimate - 3h
                3h
                Logged:
                Time Spent - 1h Remaining Estimate - 3h
                1h