Issue Bug Closed

#106690extension:setup results in "data too long for column 'entry_key'"

Kevin Appelt 05/13/25, 14:50 updated 08/12/25, 14:36

Description

Boiled down to this change:
https://github.com/TYPO3/typo3/commit/e5b30f1a3136a51ded87f65dea088ecb38081b22

entry_key was typo3/cms-extensionmanager/ext_tables_static+adt.sql until including 13.4.9.
@entry_key@ is now /var/www/html/vendor/typo3/cms-extensionmanager/ext_tables_static+adt.sql in DDEV, still matching the limit of 128 chars.

When deployed the path gets something like /home/www/doc/12345/user12345_678/my-website.com/live/releases/123456_20250513120354/vendor/typo3/cms-extensionmanager/ext_tables_static+adt.sql which is 144 chars and exceeds the 128 char limit, thus resulting in the error.

Debugged PathUtility::stripPathSitePrefix()
@$path@ is something like /var/www/html/vendor/typo3/cms-core/Initialisation/Files
@Environment::getPublicPath()@ is something like /var/www/html/public
Resulting in if (!str_starts_with($path, Environment::getPublicPath())) being true.

Reviews 4