Bug #91027

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

Added by Benjamin Franzke about 1 year ago. Updated about 1 year 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

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

Actions
#1

Updated by Benjamin Franzke about 1 year ago

  • Related to Task #90923: Install Tool: Upgrade Doc: add link to rendered rST version on docs.typo3.org added
#2

Updated by Gerrit Code Review about 1 year ago

  • Status changed from New to Under Review

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64161

#3

Updated by Gerrit Code Review about 1 year ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64161

#4

Updated by Benjamin Franzke about 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#5

Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF