I copied my own build extension to a new Typo3 installation but now the backend template is not generated correctly anymore. In the "old" installation it is still working. The extension has a configuration menu in the backend that uses the list template. It should load the following template:
/ext/resources/backend/customers/list.html
But the extension loads the following instead:
/ext/resources/customers/list.html
In the ext_tables.php it is registered as follow:
if (TYPO3_MODE === 'BE') {
/**
* Registers a Backend Module
*/
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'MTR.' . $_EXTKEY,
'user', // Make module a submodule of 'user'
'mtcus', // Submodule key
'', // Position
array(
'Customers' => 'list',
),
array(
'access' => 'user,group',
'icon' => 'EXT:' . $_EXTKEY . '/ext_icon.gif',
'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mtcus.xlf',
)
);
}