FriendsOfSymfony/FOSCommentBundle — pull request #411 by EmmanuelVella (2014-01-27 11:31:25+00:00)
Title: Throw http exception if thread is not commentable

If a comment is added to a thread which was just set as "not commentable", a LogicException is thrown by the listener, resulting in a 500 internal server error.

This PR checks if the thread is commentable and throws a proper access denied http exception in the controller.