Closed lpxavi closed 8 years ago
Hi @lpxavi
You get this error because the route /configuration/channel/3/remove
only allows only DELETE method.
You try to access this route with POST method.
If you don't have do any custom development, can you improve your message with your OS/browser configuration and a set of steps to reproduice ? I can't reproduce it in http://demo.akeneo.com/
Some doc: https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol > Request methods http://symfony.com/doc/current/book/routing.html https://github.com/akeneo/pim-community-dev/blob/master/src/Pim/Bundle/EnrichBundle/Resources/config/routing/channel.yml#L17
Let me try it on our 1.4
UPDATE:
Can't reproduce on 1.4.x-dev
hash f60366c1209beec5840103b2f4c4ae6db35e24e5
Ping @pierallard @lpxavi
I tried too and wasn't able to reproduce on 1.4.
@lpxavi : Be pleased to reopen the issue with detailed steps to reproduce. The best you can do for that is to provide a functional test case using Behat (our functional test framwork) on a pull request if the case is not covered, it will be much easier to fix the bug this way (but it should be covered by https://github.com/akeneo/pim-community-dev/blob/1.4/features/channel/create_channel.feature)
Hi,
I work with Akeneo 1.4.23 and when I try to delete a chanel, I get this message : The element could not be deleted.
In my log I get this message : [2016-04-26 15:54:07] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException: "No route found for "POST /configuration/channel/3/remove": Method Not Allowed (Allow: DELETE)" at /var/www/akeneo/branches_1.0_804df805-c8e3-436e-80e1-9a56002500eb/app/cache/ppr/classes.php line 2884 {"exception":"[object](Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException: No route found for "POST /configuration/channel/3/remove": Method Not Allowed %28Allow: DELETE%29 at /var/www/akeneo/branches_1.0_804df805-c8e3-436e-80e1-9a56002500eb/app/cache/ppr/classes.php:2884, Symfony\Component\Routing\Exception\MethodNotAllowedException: at /var/www/akeneo/branches_1.0_804df805-c8e3-436e-80e1-9a56002500eb/app/cache/ppr/appPprUrlMatcher.php:1719)"} []
Somebody can help me please ? I don't understand this error.
Thank you.