Can't use "Override mode" with legacy files (XML)
After a migration from TYPO3 V9 to TYPO3 V10 when I tried to edit language files in "Override mode", I have a message saying that no values where founded.
The file I'm trying to edit is a legacy file (XML with <T3locallang type="array">
).
The message is :
Error!
No value was found in the given file. (/var/www/html/web/typo3conf/LFEditor/OverrideFiles/my_ext/Resources/Private/Language/locallang.xml)
This exception is thrown in FileBaseXLFService::readLLFile() because there is no <body>
tag in legacy files :
if (!\is_array($xmlContent['file']['body'])) { throw new LFException('failure.search.noFileContent', 0, '(' . $file . ')'); }