Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.16.14

Bug #419 Foreign Key constraint violation
Submitted: 2003-12-12 23:34 UTC
From: kipaten21 at hotmail dot com Assigned: arnaud
Status: Closed Package: LiveUser
PHP Version: Irrelevant OS: ANY
Roadmaps: (Not assigned)    
Subscription  


 [2003-12-12 23:34 UTC] kipaten21 at hotmail dot com
Description: ------------ In the method LiveUser_Admin_Perm_DB_Common::removeArea(), the rights and areaadmins should be removed before the actual area is deleted to avoid a foreign key constraint violation. Also in LiveUser_Admin_Perm_DB_Common::removeRight(), the userrights and grouprights should be removed before moving the actual right for the same reason. Any other method that removes items should probably follow the same rule, delete all children before deleting the parent. P.S. Don't forget about the other Admin classes also.

Comments

 [2003-12-15 12:16 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!