Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #1397 Display a proper error message when a database item can…
…not be removed (javiereguiluz) This PR was merged into the master branch. Discussion ---------- Display a proper error message when a database item cannot be removed This fixes #747. --- When you try to remove an entity which doesn't have a `cascade: remove` option, Symfony/Doctrine display the following error message in production: ![error_before](https://cloud.githubusercontent.com/assets/73419/20457012/b296a5a8-ae81-11e6-8f98-9b16808676d7.png) Now, thanks to this new exception, we can display a human-friendly message for this common error: ![error_after](https://cloud.githubusercontent.com/assets/73419/20457018/c0fe9736-ae81-11e6-91d1-384d0497c746.png) Commits ------- 570f6a8 Display a proper error message when a database item cannot be removed
- Loading branch information