Project

General

Profile

Actions

Bug #91027

closed

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

Added by Benjamin Franzke almost 4 years ago. Updated almost 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 #1

Updated by Benjamin Franzke almost 4 years ago

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

Updated by Gerrit Code Review almost 4 years 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

Actions #3

Updated by Gerrit Code Review almost 4 years 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

Actions #4

Updated by Benjamin Franzke almost 4 years ago

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

Updated by Benni Mack almost 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF