Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001820 [Resin] major always 06-22-07 10:20 08-21-07 14:45
Reporter calmman View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.1.1
Summary 0001820: valueBound isn't called on load from persistent store anymore but valueUnbound still is called on save
Description I have an object that implements HttpSessionBindingListener and Serializable

it is setup so that on valueUnbound it cleans up database. Problem is that with persistent storage valueUnbound is called every time session is saved in the database which in my case happens after every request. Since you have fixed bug 1402 valueBound isn't called on load anymore so the sequence of calls is like this:

first time I save object in the session:
valueBound
readObject - Serializable
writeObject - Serializable

then after, on every request:
valueUnbound
readObject
writeObject

when session expires:
valueUnbound


so my problem is that since there's no corresponding valueBound anymore I have no ways to determine if it is time to clean database...

isn't it a bug that valueUnbound gets called on every session save??
Additional Information
Attached Files

- Relationships

- Notes
(0002210)
ferg
08-21-07 14:45

server/017u
 

- Issue History
Date Modified Username Field Change
06-22-07 10:20 calmman New Issue
06-22-07 13:43 calmman Issue Monitored: calmman
08-21-07 14:45 ferg Note Added: 0002210
08-21-07 14:45 ferg Assigned To  => ferg
08-21-07 14:45 ferg Status new => closed
08-21-07 14:45 ferg Resolution open => fixed
08-21-07 14:45 ferg Fixed in Version  => 3.1.3


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