Bug #101895
closedDB Field review_state of tx_extensionmanager_domain_model_extension has wrong format
100%
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.
Updated by Anja Leichsenring about 1 year ago
- Related to Feature #101653: Auto-create DB fields from TCA columns for type "check" added
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
Updated by Anja Leichsenring about 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset f1fd5f550939cbea4c75e5b8a79ec2abdcc3c1b3.