Anonymous | Login | Signup for a new account | 12-17-2024 08: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 | ||||
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 | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed. 26 unique queries executed. |