Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor #3200 Re-added the legacy EasyAdminController to avoid errors w…
…hen upgrading (javiereguiluz) This PR was merged into the 3.0.x-dev branch. Discussion ---------- Re-added the legacy EasyAdminController to avoid errors when upgrading When someone upgrades from EA2 to EA3, they keep all the old EA2 config files for a while (they remove them later when EA3 works for them). This can cause lots of errors. That's why we keep in EA3 the, now unused, configuration class used in EA2: https://github.com/EasyCorp/EasyAdminBundle/blob/master/src/DependencyInjection/Configuration.php. This prevents errors when Symfony tries to load the `easy_admin` semantic config. Similarly, it's common to face this error when upgrading: ![upgrading-error](https://user-images.githubusercontent.com/73419/81417580-b0065080-914b-11ea-994e-f55471142004.png) Your config files probably point to the `EasyAdminController`, which no longer exists. So, let's re-add it to avoid errors ... and provide useful error messages if someone tries to use it. Commits ------- 698f51f Re-added the legacy EasyAdminController to avoid errors when upgrading
- Loading branch information