b13 / link2language

Allows to set links to a specific language of a page in FormEngine and the RTE link selector
GNU General Public License v2.0
17 stars 10 forks source link

Fix autoload #13

Closed denvis closed 2 years ago

denvis commented 2 years ago

autoload fails in classmap-authoritative mode ( e.g. in deployment scenarios like surf)

Problem ist the lower l in the Namespace "autoload": { "psr-4": { "B13\Link2language\": "Classes/" } }, should be "autoload": { "psr-4": { "B13\Link2Language\": "Classes/" } },

Also in ext_localconf.php \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig( 'TCEMAIN.linkHandler.page.handler = B13\Link2language\LinkHandler\PageLinkHandler' ); should be \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig( 'TCEMAIN.linkHandler.page.handler = B13\Link2Language\LinkHandler\PageLinkHandler' );

You can reproduce the issue with composer du --classmap-authoritative