Unable to remove scheduled dataflow with history #2

Closed
opened 2026-01-23 11:22:52 +01:00 by admin · 1 comment
Owner

Originally created by @jbcr on GitHub (Oct 17, 2019).

When I want to remove a scheduled dataflow with non-empty history, I have this error:

An error occured during the workflow deletion: "%An exception occurred while executing 'DELETE FROM cr_dataflow_scheduled WHERE id = ?' with params [9]: SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`ezdataflow`.`cr_dataflow_job`, CONSTRAINT `FK_D0EA3FB85558A221` FOREIGN KEY (`scheduled_dataflow_id`) REFERENCES `cr_dataflow_scheduled` (`id`))%".
Originally created by @jbcr on GitHub (Oct 17, 2019). When I want to remove a scheduled dataflow with non-empty history, I have this error: ``` An error occured during the workflow deletion: "%An exception occurred while executing 'DELETE FROM cr_dataflow_scheduled WHERE id = ?' with params [9]: SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`ezdataflow`.`cr_dataflow_job`, CONSTRAINT `FK_D0EA3FB85558A221` FOREIGN KEY (`scheduled_dataflow_id`) REFERENCES `cr_dataflow_scheduled` (`id`))%". ```
admin added the bug label 2026-01-23 11:22:52 +01:00
admin closed this issue 2026-01-23 11:22:52 +01:00
Author
Owner

@jbcr commented on GitHub (Oct 21, 2019):

Fixed

@jbcr commented on GitHub (Oct 21, 2019): Fixed
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: code-rhapsodie/ezdataflow-bundle#2