Bug #90334

Command "site:list" outputs wrong lines only with "Locale" and "Status"

Added by Wittkiel Gruppe 10 months ago. Updated 9 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
CLI
Target version:
Start date:
2020-02-06
Due date:
% Done:

100%

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

Description

We are using multiple site-configurations. The CLI-command "site:list" outputs after every new line one additional wrong line with only locale and status.

sysext/core/Classes/Command/SiteListCommand.php
Current code:

[...]
foreach ($sites as $site) {
    $baseUrls = [];
    $languages = [];
    foreach ($site->getLanguages() as $language) {
[...]

Fixed code:

[...]
foreach ($sites as $site) {
    $baseUrls = [];
    $languages = [];
    $locales = [];
    $status = [];
    foreach ($site->getLanguages() as $language) {
[...]


Files

site-list.png (87.2 KB) site-list.png Wittkiel Gruppe, 2020-02-06 09:01
#1

Updated by Gerrit Code Review 10 months ago

  • Status changed from New to Under Review

Patch set 1 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/+/63180

#2

Updated by Gerrit Code Review 10 months ago

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/+/63180

#3

Updated by Gerrit Code Review 10 months 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/+/63180

#4

Updated by Gerrit Code Review 10 months ago

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

#5

Updated by Georg Ringer 10 months ago

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

Updated by Benni Mack 9 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF