Joomla-Tracks icon indicating copy to clipboard operation
Joomla-Tracks copied to clipboard

Edit result Foreign Key error

Open kosin-ski opened this issue 3 years ago • 1 comments

Hi! When I try to edit a participant's result in the event and the participant doesn't have a team I get the foreign key error. I reported something similar a while ago in a different place.

"Error Save failed with the following error: Cannot add or update a child row: a foreign key constraint fails (***.#__tracks_events_results, CONSTRAINT fk_#__tracks_events_results_3 FOREIGN KEY (team_id) REFERENCES #__tracks_teams (id) ON DELETE SET NULL ON UPDATE CASCADE)"

Thank you for any help!

kosin-ski avatar Sep 16 '21 20:09 kosin-ski

these two cause redcore errors

An error has occurred. 0 Call to a member function createModel() on null (all lastedt versions.)

image

smileysit avatar Sep 16 '21 20:09 smileysit