incorrect caching in cache.check_memory_cache
Bug #518389 reported by
Garth Wells
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Instant |
Confirmed
|
Medium
|
Kent-Andre Mardal |
Bug Description
A fix has been committed in http://
Instant was inserting an object into the memory cache even though it was already found in the cache. It was inserting the object based on its address, and not its signature. This meant that a element or form declared in a loop would be repeatedly inserted into the memory cache, despite the signature being the same.
To post a comment you must log in.
The above fix led to a unit test failing. This is now commented out in tests/test19.py. We need to figure out whether
1. The bug fix is correct
and/or
2. The unit test makes sense