pjfl/p5-app-notitia

Can't delete a user

Closed this issue · 1 comments

JB62 commented

DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st execute failed: Cannot delete or update a parent row: a foreign key constraint fails (schedule.event, CONSTRAINT event_fk_owner_id FOREIGN KEY (owner_id) REFERENCES person (id)) [for Statement "DELETE FROM person WHERE ( id = ? )" with ParamValues: 0='14'] at /notitia/local/lib/App/Notitia/Model/Person.pm line 460

pjfl commented

Your point being?