Project

General

Profile

Actions

Bug #91027

closed

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

Added by Benjamin Franzke about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Install Tool
Target version:
Start date:
2020-04-14
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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')


Files


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #90923: Install Tool: Upgrade Doc: add link to rendered rST version on docs.typo3.orgClosedJosef Glatz2020-04-01

Actions
Actions

Also available in: Atom PDF