Closed paustian closed 3 years ago
Added the small fixes in https://github.com/zikula-modules/Pages/commit/4480a81e3c04725637f9edc00de3b028e3966fcd
No idea though why it tries to create the zikula_pages_page
table twice. Is it possible that this is only a result from your multiple test runs?
Yeah it was a results of the multiple test runs.
Thank you @paustian !
Those changes in 4480a81 fixed the upgrade issues. However I am still having the routes problem
Oh, didn't see this part of the problem description. Did you try renewing the routes in the Routes module's administration?
Just saw this now. That doesn't help. I also tried deleting the cache. No luck. The module is installing funky static routes. /pages/pages /pages/admin/page etc.
Please try changing to dev
environment. Does this make a change?
No route found for: Get:/pages I left it open so you can see the results Go here https://fourthedition.theorygizmos.com/pages
In trying to upgrade from Pages 3.2.3 to 4.1.0 I ran into a few small issues.
Line 96 of PagesModuleInstaller, the value sent to setCounter has to be cast as an int. Here is the fix:
$page->setCounter((int)$row['counter']);
Argument 1 passed to Zikula\PagesModule\Entity\Base\AbstractPageEntity::setPageLanguage() must be of the type string, bool given. The fix is:
$page->setPageLanguage((string) $row['language']);
Finally, after installation, it reports an invalid route for Pages. Not sure what the issue is here, but the Module is unuseable in this state. Even with a clean install I get this issue.