Mantis Bugtracker
  

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

- Relationships

- Notes
(0006501)
ferg
09-10-14 14:29

Resin 4.0 JCache support is frozen except for critical bugs.
 

- Issue History
Date Modified Username Field Change
02-21-14 11:57 cowan New Issue
09-10-14 14:29 ferg Note Added: 0006501
09-10-14 14:29 ferg Assigned To  => ferg
09-10-14 14:29 ferg Status new => closed
09-10-14 14:29 ferg Resolution open => no change required


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker