fterrier/kevin — pull request #216 by fterrier (2012-07-30 14:39:51+00:00)
Title: background task improvements

Added a few things to the background task feature:

- Added progress for the CalculateTask task, which basically counts the number of values that have to be calculated and increments each time a value is refreshed
- Added an information field on the admin list that helps identify among class instances what a specific task will be doing

Changed the implementation of RefreshValueService so it updates rows instead of deleting them and recreating them, which should prevent a MySQL exception that was occurring when refreshing the same data element twice at the same time.

Moved the transaction in RefreshValueService a few level down so it encapsulates a whole DataElement and not all dependent data elements of a NormalizedDataElement.