Status: New Owner: ---- Labels: Type-Defect Priority-Medium New issue 686 by jgc.sevein: Problem removing "default contributor" user http://code.google.com/p/qubit-toolkit/issues/detail?id=686
PHP 5.2.9-1-Win32 Apache 2.2.11-Win32 Qubit-Toolkit from SVN/trunk/qubit When you try to remove "default contributor" user (http://host/user/delete/id/251), the browser unexpectly redirects me to http://host/sfInstallPlugin/check. A message was written in my Apache vhost log error file: Unable to execute DELETE statement. [wrapped: SQLSTATE[HY000]: General error: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`qubit/q_note`, CONSTRAINT `q_note_FK_3` FOREIGN KEY (`user_id`) REFERENCES `q_user` (`id`))], referer: http://host/index.php/user/edit/id/251 The problem seems to be around the method doDelete (line 73) from lib/model/om/BaseObject.php but not idea about why this is happening. This could be a bug. It seems the user can't be removed since it exists many tuples at q_note table linked to this user. This is not happening when you remove other users. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Qubit Toolkit Issues" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/qubit-issues?hl=en -~----------~----~----~----~------~----~------~--~---
