Issue Bug Closed

#91027ExtensionScanner TypeError in extensionScannerMarkFullyScannedRestFiles due to incorrect parsing of Index.rst files

Benjamin Franzke 04/14/20, 14:56 updated 04/21/20, 10:42

Description

Index.rst files do not contain issue numbers and thefore cause
typeerrors when running the extension scanner:

at TYPO3\CMS\Install\UpgradeAnalysis\DocumentationFile
->getListEntry(‘[…]/typo3/sysext/core/Documentation/Changelog/7.0/Index.rst’)

(1/1) TypeError
Return value of TYPO3\CMS\Install\UpgradeAnalysis\DocumentationFile::parseIssueId()
must be of the type string, null returned

in […]/typo3/sysext/install/Classes/UpgradeAnalysis/DocumentationFile.php line 355
return GeneralUtility::trimExplode(‘-’, $filename)1;

at TYPO3\CMS\Install\UpgradeAnalysis\DocumentationFile->parseIssueId(‘Index’)
in […]/typo3/sysext/install/Classes/UpgradeAnalysis/DocumentationFile.php line 156
$issueId = $this->parseIssueId($entry[‘filename’]);

at TYPO3\CMS\Install\UpgradeAnalysis\DocumentationFile
->getListEntry(‘[…]/typo3/sysext/core/Documentation/Changelog/7.0/Index.rst’)

Reviews 2