[ixpmanager] Error deleting user

Barry O'Donovan (INEX) barry.odonovan at inex.ie
Sat Jan 15 17:08:40 GMT 2022


Hi Mauricio,

bit late replying to the below but this was sorted via:

https://github.com/inex/IXP-Manager/issues/742

  - Barry


Mauricio Oviedo wrote on 28/10/2021 04:42:
>
> Hi folks,
>
> After trying to delete a user, we got the following SQL error:
>
> ERROR 1451 (23000): Cannot delete or update a parent row: a foreign 
> key constraint fails (`ixpmanager`.`log`, CONSTRAINT 
> `log_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`))
>
> Running the command directly in MYSQL on a copy of the database shows 
> the same issue, and the user remains in the database.
>
> The result is that the users view is now broken, showing the error:
>
> Message: Undefined array key ""
>
> Location: /srv/ixpmanager/resources/views/user/index.foil.php:90
>
> Could you pls provide any pointers on how to fix it/prevent from 
> happening again?
>
> SO: Ubuntu 20.04
>
> IXPM: 6.1.0
>
> Thanks for your help,
>
> Mauricio
>
>
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> Unsubscribe or change options here: https://www.inex.ie/mailman/listinfo/ixpmanager

-- 

Kind regards,
Barry O'Donovan
INEX

https://www.inex.ie/support/
+353 1 531 3339


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20220115/449ec373/attachment.htm>


More information about the ixpmanager mailing list