| Anonymous | Login | Signup for a new account | 11-10-2026 23:31 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0005670 | [Resin] | minor | always | 02-21-14 11:57 | 09-10-14 14:29 | ||||
| Reporter | cowan | View Status | public | ||||||
| Assigned To | ferg | ||||||||
| Priority | normal | Resolution | no change required | ||||||
| Status | closed | Product Version | 4.0.38 | ||||||
| Summary | 0005670: JCache remove and removeAll methods are only removing cache values but not keys | ||||||||
| Description |
remove and removeAll methods are only removing cache values but not keys <resin:ClusterCache ee:Named="myCache"> <name>myCache</name> <modified-expire-timeout>1h</modified-expire-timeout> </resin:ClusterCache> PrintWriter writer = res.getWriter(); myCache.put("foo", "bar"); writer.println(myCache.get("foo")); writer.println(myCache.remove("foo")); writer.println(myCache.get("foo")); writer.println(myCache.containsKey("foo")); This code prints: bar true null true But the containsKey should return false. |
||||||||
| Additional Information | Rep by C Bergoglio | ||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |