Issue #SCB2874 () email notification subject sometimnes contains wrong status

Ronny Voelker <[email protected]> Fri, 29 May 2009 09:15:00 +0200 (CEST)
Newsgroups gmane.comp.java.scarab.issues
Message-ID <[email protected]>
Activity report on

  *Defect SCB2874 - email notification subject sometimnes contains wrong status*

  Scarab Link: http://www.solitone.org/scarab/issues/id/SCB2874
  Module: Scarab


  Activity generated by Ronny Voelker ([email protected]) at 05/29/2009 09:09

  *Reasons for the changes*


  *Comments*
  - By Ronny Voelker - 05/29/2009 09:09 ---
  "As I understand it, the ScarabCache was intended as a short-term cache. It is cleared at the start of every request. The cached content is never invalidated explicitly.

The thread of the NotificationManager does not have the this request-response-cycle of the ordinary worker threads.
That's why the content of the ScarabCache will become stale, when used in the NotificationManager.

So clearing the whole cache at the start of the NotificationManager-run is a possible solution.

A cleaner solution would be to switch all the caching methods used in the NotificationManager from the ScarabCache to the according TorqueCache and add invalidation-code for this caches where it is needed.
"

------------------------------------------------------
http://scarab.tigris.org/ds/viewMessage.do?dsForumId=458&dsMessageId=2356681

To unsubscribe from this discussion, e-mail: [[email protected]].