Project

General

Profile

Actions

Bug #101895

closed

DB Field review_state of tx_extensionmanager_domain_model_extension has wrong format

Added by Anja Leichsenring about 1 year ago. Updated 4 months ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2023-09-11
Due date:
% Done:

100%

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

Description

The field is in TCA defined as type=check, which implies the DB representation is a positive number.
This is not the case, data range is -2 to 2, representing different states for the extension.

With #101653 fields of TCA type 'check' must not be defined in ext_tables.sql anymore and become auto created as a smallint unsigned. This leads to errors for the users either while trying to migrate to the current DB schema of the core or later on while reviewing extensions in the extension manager, because the negative numbers will not be handled correctly. Also, updating extension list will fail due to incompatible DB field format.

To get rid of the problem, the TCA type will be redefined as a number, which reflects the reality of this field.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #101653: Auto-create DB fields from TCA columns for type "check"Closed2023-08-10

Actions
Actions #1

Updated by Anja Leichsenring about 1 year ago

  • Related to Feature #101653: Auto-create DB fields from TCA columns for type "check" added
Actions #2

Updated by Gerrit Code Review about 1 year ago

  • Status changed from New to Under Review

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

Actions #3

Updated by Anja Leichsenring about 1 year ago

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

Updated by Benni Mack 4 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF