pimcore / demo

The Official Pimcore Demo Package - You're new to Pimcore? That's your entry point! 🤓
Other
101 stars 106 forks source link

Update PimcoreUrl.php #518

Closed elmarputz closed 1 year ago

elmarputz commented 1 year ago

Check if $this->requestHelper->getMainRequest()->attributes->get('_route_params') does not return null and if so, set it to an empty array. It this case occurs, the routing leads to some errors, in my case it was not possible to use the default error page mechanism from pimcore, i always got an error 500.

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

kingjia90 commented 1 year ago

closing in favor of https://github.com/pimcore/demo/pull/523