Closed chris-k-k closed 2 years ago
this has been fixed with #481, but we did not do a release with the fix. i now did 3.0.1, if you update the bundle, the error should be gone and the table created. does it work for you? (if you use doctrine migrations, you will need to recreate the migration after the upgrade)
Environment
PC - Windows 10 Xampp Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6 10.4.24-MariaDB database
Symfony packages
Symfony CMF packages
Subject
I'm trying to implement the ORM variation of the Routing Bundle to make use of the Dynamic Router. Unfortunately, I ran into problems when trying to persist new entries into the 'orm_routes' table. It looks like one of the table columns is using a reserved keyword (stemming from the variable 'condition' => Symfony\Component\Routing). What would be the best solution/workaround to fix this? Any pointers are highly appreciated!
Steps to reproduce
Using a (modified) snippet from the documentation: https://symfony.com/bundles/CMFRoutingBundle/current/routing-bundle/dynamic.html#the-orm-route-entity
Expected results
The table 'orm_routes' ought to be populated with values referencing the new test entity via the ManyToMany-relation.
Actual results