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

Also available in: Atom PDF