Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Cli upgrade 1.3.12 -> 1.5.5 no routes module table #3887
Fully installed routes module.
After "successful" (no errors even with --vvv) upgrade using cli routes module is installed but routes table is missing.
Steps to reproduce
Upgrade 1.3.1x using cli I have tested using my own db and test1310.sql
referenced this issue
Jan 11, 2018
Hmm, same things happen when the core is upgraded via a web interface but does not happen on install.
I have not tested this yet but most probably upgrade modules procedure which is called before routes module install is switching module state to installed that would explain why the module is in the active state.
Ok I think I got it
So that is for sure the reason why it is not fully installed.
I do not know why this is done this way... why any version lower than 1.4.0 is set to 1.4.0? most probably for this https://github.com/zikula/core/blob/1.5/src/lib/Zikula/Bundle/CoreInstallerBundle/Controller/AjaxUpgradeController.php#L164
I'm not sure about a right solution maybe change compare point to 1.3.99 instead of 1.4.0 ? and I do not know how it will work together with upgrade part maybe add another condition to perform routes module upgrade only when currentversion is >=1.4.0?