Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1820 | major | always | 06-22-07 10:20 | 08-21-07 14:45 | |
|
|||||
Reporter: | calmman | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.1.1 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.3 | ||
|
|||||
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?? |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|