Bug #17270
closedConflict with Install-Tool [FE][addRootLineFields],[SYS][multiplyDBfieldSize],[BE][forceCharset]
0%
Description
When previous to the Installation of TemplaVoila the following fields are changed in the InstallTool it will cause RealURL to crasch:
[BE][forceCharset] = utf-8
[SYS][multiplyDBfieldSize] = 3
[FE][addRootLineFields] = subtitle,author,keywords,description
The Error shown by the ExtensionManager is:
Warning: Invalid argument supplied for foreach() in C:\Programme\xampp\htdocs\t341final\t3lib\class.t3lib_install.php on line 393
I don't know which of these three changes in the InstallTool made the crash, but it happened severel Times. I guess it's the last change ([FE][addRootLineFields] = subtitle,author,keywords,description) cause TemplaVoila adds ",tx_templavoila_ds,tx_templavoila_to,tx_templavoila_next_ds,tx_templavoila_next_to,tx_realurl_pathsegment,tx_templavoila_ds,tx_templavoila_to,tx_templavoila_next_ds,tx_templavoila_next_to,tx_realurl_pathsegment" there. - and this seams not to work propperly.
(issue imported from #M5544)
Files
Updated by Aobara BlazingBlade over 17 years ago
This is not a problem for templavoila but a common problem.
When the value [SYS][multiplyDBfieldSize] multiplied by vercher's limit number defined in a field exceeds 255, the sentence about the key definition is checked and modified if neccesarry.
In this case the value [SYS][multiplyDBfieldSize] is 3 and the given verchar limit number of either tx_templavoila_ds or tx_templavoila_next_ds is 100, then the check is applied.
You know a field usually does not have any definition about key when it is added to an existing table. Nevertheless the check is applied.
So what we should do is only to filter it.
Updated by Dmitry Dulepov over 17 years ago
Warning: the patch is not in unified diff format!
Updated by Christian Kuhn over 15 years ago
Resolved, won't fix:
- Fix / upgrade mysql
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['multiplyDBfieldSize'] is deprecated
More reading:
- Search for "multiplyDBfieldSize" in this bugtracker (with view status "any")
- http://wiki.typo3.org/index.php/UTF-8_support
- http://lists.netfielders.de/pipermail/typo3-team-core/2006-March/003739.html