aimeos / ai-typo3

TYPO3 adapter for Aimeos web shops and e-commerce solutions
https://aimeos.org/TYPO3
GNU Lesser General Public License v3.0
72 stars 6 forks source link

Bugfix for broken Typo3 routes #32

Closed nvindice closed 2 years ago

nvindice commented 2 years ago

Branch master

See the other URL view helper for frontend URL generation.

Please be careful tampering with the Typo3 URL generation as it's a complex process leading to many issues which are hard to debug...

aimeos commented 2 years ago

What problem does this solve and which error (message) did the code create before?

nvindice commented 2 years ago

The default controller names are always written in lower case, which prevents the Typo3 route generator from detecting the correct route for SEO friendly URL generation (e.g. $controller = 'catalog' does not fit the Catalog::detail route).

This fixes a regression from commit https://github.com/aimeos/ai-typo3/commit/bc3731fbad923f46dead403c740b754d334e6fb4

aimeos commented 2 years ago

Thanks a lot!