Page 1 of 1

Throw Validation Exception on Remove in Broadleaf Admin

Posted: Fri Apr 10, 2015 7:06 am
by ktalati
Hello,

I'm using Broadleaf version 3.1.

According to my requirements, I need to extend CategoryImpl with new admin section.

So i have created new entity named "ExtendedCategoryImpl" which extends, CategoryImpl and I have done appropriate entires in database to view that entity in my BLC admin portal.

To delete categories, I have implemented Custom Persistence Handler and override remove method from that.

Now I need to restrict user form deleting some entries from that category listing. So form remove method of Persistence Handler I had tried to throw Validation Exception as well as Service Exception but it shows 500 error page, which should not happen.

Error message or Exception message must be shown on Admin UI.

Please please please help me on this !!!

I really stuck on this error message . :( :( :(

thanks in advance.

Regards,
Kishan

Re: Throw Validation Exception on Remove in Broadleaf Admin

Posted: Fri Apr 10, 2015 7:36 am
by nehamehta
I’m also facing same issue. :cry:
please provide me help.

Thanks,
Neha Mehta

Re: Throw Validation Exception on Remove in Broadleaf Admin

Posted: Wed Apr 15, 2015 1:40 am
by ktalati
Any update on this issue ?

Re: Throw Validation Exception on Remove in Broadleaf Admin

Posted: Wed Apr 15, 2015 6:32 pm
by phillipuniverse
We have added this functionality in 4.0 which will be released in the next week or so. See https://github.com/BroadleafCommerce/Br ... /pull/1215

Re: Throw Validation Exception on Remove in Broadleaf Admin

Posted: Tue Apr 21, 2015 6:03 am
by ktalati
Ok Thanks for reply :)