-
Bug
-
Resolution: Fixed
-
None
-
Critical
-
Sometimes task deletions lead to errors resulting in defect tasks.
-
Emptyshow more show less
problem
Task deletion could lead to DB deadlocks of the type:
Zend_Db_Statement_Exception: SQLSTATE[HY000]: General error: 1020 Record has changed since last read in table 'LEK_languageresources', query was: DELETE FROM LEK_languageresources WHERE (LEK_languageresources.id = 38892)
the result are task in inconsistent state.
Especially in the combination with auto archive this is leading to
ERROR in core: E0000 - Export folder not found or not write able: /var/www/translate5/data/editorImportedTasks/7e2c8a4d-1e5e-47cd-b801-431b3d2c86ae/exportWEwikN
then.
solution
Try to reduce the DB error above and change the order of the task deletion so that the data dir is deleted after the dependencies and not before.