Ticket #2531339 (closed defect)
Reporter Stuart Colville |
Opened: 10/26/11 Last modified: 04/17/12 Status: closed Type: defect Resolution: fixed |
Owner Eric Ferraiuolo |
Target Release: 3.5.0 Priority: P3 (normal) |
|---|---|---|---|
| Summary: | YUI Cache drops values when using UniqueKeys = true | ||
| Description: | Cache shifts values off the cache array rather than remove the existing item so it can be added again. See test-case url below. |
||
| Type: | defect | Observed in Version: | 3.4.1 |
| Component: | Cache | Severity: | S3 (normal) |
| Assigned To: | Eric Ferraiuolo | Target Release: | 3.5.0 |
| Location: | Library Code | Priority: | P3 (normal) |
| Tags: | Relates To: | ||
| Browsers: | All | ||
| URL: | http://jsfiddle.net/muffinresearch/7g8us/ | ||
| Test Information: | |||
Change History
|
Posted: 10/26/11
|
|
Posted: 10/27/11
|
|
Posted: 10/27/11
|
|
Posted: 10/27/11
I've updated the pull request [1] with an improved patch and a test to cover checking the values. |
|
Posted: 11/9/11
|
|
Posted: 11/10/11
FYI, Stuart's CLA has been received. |
|
Posted: 02/21/12
Punting until 3.6.0 when I expect to do some work on the Cache utility. |
|
Posted: 02/21/12
Instead of waiting I merged this Pull Request and cleaned it up. |
|
Posted: 02/21/12
|
|
Posted: 04/17/12
Closing out bugs checked in to 3.5.0. |
I've added a pull request with a patch here: https://github.com/yui/yui3/pull/39