Project

General

Profile

Actions

Bug #90334

closed

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

Added by Wittkiel Gruppe almost 5 years ago. Updated over 4 years 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
Actions #1

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

Actions #2

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

Actions #3

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

Actions #4

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

Actions #5

Updated by Georg Ringer almost 5 years ago

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

Updated by Benni Mack over 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF