The default skeleton from previous versions includes translation features in the layout; when development mode is off, these then are executed, and, for those upgrading, lack of i18n causes fatal errors.
This patch makes the following changes to the upgrade script:
Adds zend-mvc-i18n as an application requirement.
Injects both Zend\I18n and Zend\Mvc\I18n as production modules.
The default skeleton from previous versions includes translation features in the layout; when development mode is off, these then are executed, and, for those upgrading, lack of i18n causes fatal errors.
This patch makes the following changes to the upgrade script:
Zend\I18n
andZend\Mvc\I18n
as production modules.Reported by @jackdpeterson in #apigility-dev