Dependency error when installing extensions on alpha or beta version
When you install an extension in an alpha or beta version you always get an error like below:
The running TYPO3 version (4.5.0alpha3) is lower than required (4.5.0).
[ ] Ignore this version requirement =========================
Checking the ignore box makes it work, but the error message should not be there.
(issue imported from #M16203)
Updated by Chris topher about 11 years ago
The reason for this not working correctly is in typo3/sysext/em/mod1/class.em_index.php:
There checkDependencies() checks for TYPO3_version containing "-alphaX", "-betaX" or "-RCX" and replaces this with "0".
This is wrong, because in alpha, beta and RC releases TYPO3_version is set to something like "4.5.0alphaX". So the replacing won't take place.
The fix is to check for TYPO3_version containing something like "alphaX" (always without the "-" at the beginning) and to remove that without replacing it with anything.