Closed meshenka closed 3 years ago
Can you create a small example application that allows to reproduce this? Otherwise, I am afraid that noone will be able to help you.
as a work around i just fixed all annotation to use Lowercase, but i will try to have a simple POC
here is my POC repo https://github.com/meshenka/rest-demo-issue-2299
with the exact version i had seen this bug, but i cannot reproduce, there must be another moving part that trigger this issue :(
Does that mean that the issue goes away if you update FOSRestBundle to, for example, 2.8.6?
Does that mean that the issue goes away if you update FOSRestBundle to, for example, 2.8.6?
could not reproduce outside in a small POC, 2.8.2 or 2.8.6 or latest
Should we close then? Without being able to reproduce I am afraid that we cannot do anything here.
We stumble upon a very very strange bug
when APP_ENV=prod if we run bin/console ca:cl && bin/console cache:warmup IF the first controller class he found use the Uppercase Annotation, then something goes wrong and we can see errors like
when doing a
bin/console router:match [a route, even one that does not exist]
if the fist controller this process find use @Rest{Post,Patch,Put,Delete,Get} then it is all good forcing APP_DEBUG=true or APP_ENV=dev does not have the issue