Bug #96209
closedImporting TER extension list fails
100%
Description
(test in current main branch)
SQL error message: Data too long for column 'version' at row 13
Caused by (references)¶
- https://extensions.typo3.org/extension/solr
- https://github.com/TYPO3-Solr/ext-solr/releases/tag/11.5.0-pre-alpha-1
- version
11.5.0-pre-alpha-1
exceeds core database field limitation of 15 chars
Files
Updated by Oliver Hader almost 3 years ago
Updated by Oliver Bartsch almost 3 years ago
Seems like this is caused by the latest EXT:solr version 11.5.0-pre-alpha-1
.
Updated by Benni Mack almost 3 years ago
I think the solution here is to disallow alpha/beta versions on upload to TER and to remove the affected versions from the extensions.xml.gz
Updated by Oliver Hader almost 3 years ago
Corresponding database field tx_extensionmanager_domain_model_extension.version
is declared as version varchar(15) NOT NULL default '',
.
| # current limit 123456789012345678901234 # ruler 11.5.0-pre-alpha-1 11.5.0 11.5.0-alpha1 11.5.999 11.5.999-alpha1 999.999.999-alpha1 999.999.999-alpha999 123456789012345678901234 # ruler | # current limit
TER upload should allow only the following:
11.5.0
11.5.0-alpha1
11.5.0-beta1
11.5.0-rc1
Besides that, it probably might makes sense to extend version
for future versions to allow 20-24 chars
Updated by Thomas Löffler almost 3 years ago
Same issue here with https://extensions.typo3.org/extension/templavoilaplus.
A short look to the TER code gave me no hint why these versions could be uploaded.
We have a strict regex for version numbers which is used on every upload.
Will take a deeper look today.
Updated by Gerrit Code Review almost 3 years ago
- Status changed from Accepted 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/+/72477
Updated by Oliver Hader almost 3 years ago
Version number fix in TER: https://git.typo3.org/services/t3o-sites/extensions.typo3.org/ter/-/merge_requests/691
Updated by Gerrit Code Review almost 3 years ago
Patch set 2 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/+/72477
Updated by Gerrit Code Review almost 3 years ago
Patch set 3 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/+/72477
Updated by Gerrit Code Review almost 3 years ago
Patch set 1 for branch 11.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/+/72422
Updated by Oliver Bartsch almost 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset baaed5b326782466877168062381e271983dbfea.
Updated by Gerrit Code Review almost 3 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72484
Updated by Oliver Bartsch almost 3 years ago
- Status changed from Under Review to Resolved
Applied in changeset 3e3ab9fdaed549b3295ef2cac7c610882eb20309.