Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-4817

Integrity constraint error on failing hotfolder import

XMLWordPrintable

    • High
    • On specific import failures of the hotfolder import the error is not handled properly and will lead to follow up errors.

      problem

      Errors were not handled properly at one place in hotfolder import. That is leading to the direct deletion of the project which produced then follow up errors: 

      PDOException: SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`DB1189`.`LEK_task_tm_task_association`, CONSTRAINT `LEK_task_tm_task_association_ibfk_2` FOREIGN KEY (`taskId`) REFERENCES `LEK_task` (`id`))

      solution

      Change the error handling so that this can not happen anymore.

            tlauria Thomas Lauria
            tlauria Thomas Lauria
            Sanya Mikhliaiev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: