Project

General

Profile

Actions

Bug #94708

closed

Exception in Upgrade Wizard called via CLI if field sys_log.channel does not exist

Added by Simon Gilli over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
-
Target version:
-
Start date:
2021-08-04
Due date:
% Done:

100%

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

Description

When upgrading from a pre 11.3 release the column sys_log.channel does not exist. Because of the limited support of db upgrades through the CLI the column is not created before running updateNecessary() of the Upgrade Wizards and this leads to this exception:

In AbstractMySQLDriver.php line 79:

An exception occurred while executing 'SELECT count(channel) FROM sys_log WHERE NOT channel="default"':
Unknown column 'channel' in 'field list'

In ConnectionError.php line 19:

Unknown column 'channel' in 'field list'
Actions #1

Updated by Gerrit Code Review over 3 years ago

  • Status changed from Accepted 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/+/70197

Actions #2

Updated by Gerrit Code Review over 3 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/+/70197

Actions #3

Updated by Simon Gilli over 3 years ago

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

Updated by Benni Mack about 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF