Page 1 of 1

Delete Customer in admin Panel

Posted: Tue Mar 12, 2013 2:45 am
by ktalati
Hello,

I have extended Customer with my custom fields, for that i had referred following link :

http://docs.broadleafcommerce.org/2.2/E ... orial.html

And it is running successfully.

But Now when i went to the admin panel of broadleaf and tried to delete customer from customer care, It shows me some constrain violation error. So for that i'm unable to delete the customer.

Can you please help me as i am newbie to broadleaf.

Please Please Help me ....

Thanks in Advance :)


e.g. : Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Cannot delete or update a parent row: a foreign key constraint fails

Re: Delete Customer in admin Panel

Posted: Tue Mar 12, 2013 12:39 pm
by phillipuniverse
Unfortunately you will not be able to do what you have described unless you have some customized delete action. Even still, even if all deletes were cascaded, if that Customer happens to be related to an Order, then the Order would also be deleted which you definitely do not want to happen.

Is there a particular reason that you need to delete a Customer? This is not something that we would recommend doing.