FriendsOfSymfony / FOSCommentBundle

Threaded comments for Symfony
http://friendsofsymfony.github.com/
MIT License
462 stars 230 forks source link

Remove/edit buttons actions get 405 on production #722

Open softatac opened 4 years ago

softatac commented 4 years ago

Hello,

Great work with this bundle. Unfortunately, I've stumbled upon one persistent issue Remove/Edit buttons do not work on production (they work fine on dev)

The problem seems to be that when clicking the delete button, the first request works (for getting the remove comment form), but the 2nd request (which should submit the delete form with PATCH method) actually submits a POST, thus the server responds with a 405 (Method Not Allowed) and the comment never gets deleted.

Why could this be happening? Many thanks