Bug
Chores fail when accelerate is used
Issue description
When a service uses accelerate and is run as a chore, the run-chores cron job terminates due with strange errors, e.g. method "format" called on a non-object, after getting the date of some topic via the Topincs domain API. A data check confirms that this error is not grounded in the data, the problem rather lies in the generic Topincs domain API code.
Developer comments
The problem is that in run-chores all stores are in sequence. A call to %Topincs::use_store% switches between the stores. In this switch all (static) %clear_cache% method of any declared class is called. Only afterwards the new store is set. In %DataIndex::clear_cache%, the data index directory is initialized and thus holds the directory to the old store!
Chores run in a seperate process for each store.
|
Work sessions2
Start |
2016-05-12T07:58:01
|
End |
2016-05-12T09:42:02
|
Participant |
Robert Cerny
|
Start |
2016-05-13T08:41:27
|
End |
2016-05-13T10:00:00
|
Participant |
Robert Cerny
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.