(Please fill in the actual values from your environment - check Contao Manager or use composer show)
Key
Value
Comments
PHP version:
8.1.16
Contao version:
4.13.16
MetaModels version:
2.3@dev
Installed MetaModels packages:
DCG version:
2.3@dev
Issue description
When using the new routing MetaModels breaks even though #1492 is marked as closed.
Steps to reproduce
Given a MetaModels list
The FilterUrlBuilder tries to retrieve the route information from the current request. In the list controller the _route attribute is not set. The main request has to be used
Given a fragment foo/bar the filter url build tries to set a slug bar=null. This breaks because a string value is required
Note: On the 40*-pages, an MM list can be output but no URLs can be created, e.g. for pagination, filtering or sorting - Contao prevents routing to this page type.
Checklist before I submit this issue report
I confirm that:
My environment is:
(Please fill in the actual values from your environment - check Contao Manager or use
composer show
)8.1.16
4.13.16
2.3@dev
2.3@dev
Issue description
When using the new routing MetaModels breaks even though #1492 is marked as closed.
Steps to reproduce
_route
attribute is not set. The main request has to be usedfoo/bar
the filter url build tries to set a slugbar=null
. This breaks because a string value is requiredDescribe the behaviour of the application
UnkownRouteNameException or type error is thrown.