Details
-
Bug
-
Resolution: Fixed
-
High
-
1.11.0
-
Operating System: Debian 8
PHP Version: 5.6.30-0+deb8u1
Database and version: Mysql 5.5.54-0+deb8u1
Description
The upgrade from ezpublish5.4-> eZ Platform has as optional the installation of legacy bridge (see step 2.5). (I followed https://github.com/ezsystems/developer-documentation/pull/28))
Being optional, we may bypass this step.
But if a customer descide, later, to install legacy_bridge anyway, when he follows the legacy bridge documentation, he has an error after executing the composer require --update-no-dev "ezsystems/legacy-bridge:^1.3.0" step.
(...) Writing lock file Generating autoload files > Incenteev\ParameterHandler\ScriptHandler::buildParameters Updating the "app/config/parameters.yml" file > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap > eZ\Bundle\EzPublishCoreBundle\Composer\ScriptHandler::clearCache PHP Fatal error: Class 'EzSystems\EzPlatformXmlTextFieldTypeBundle\EzSystemsEzPlatformXmlTextFieldTypeBundle' not found in /var/www/html/ezp60/ezplatform/app/AppKernel.php on line 55 Script eZ\Bundle\EzPublishCoreBundle\Composer\ScriptHandler::clearCache handling the build event terminated with an exception Installation failed, reverting ./composer.json to its original content. [RuntimeException] An error occurred when executing the "'cache:clear --no-warmup'" command: PHP Fatal error: Class 'EzSystems\EzPlatformXmlTextFieldTypeBundle\EzSystemsEzPlatformXmlTextFieldTypeBundle' not found in /var/www/html/ezp60/ezplatform/app /AppKernel.php on line 55 require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...
If the user install legacy_bridge in the optional step (2.5 referred above) sequence, then this error does not happen. Only if he tries to install it after the upgrade rpocess.
Steps to Reproduce
-Install a 5.4 version of ezpublish
-Upgrade to ezplatform
-Install legacy-bridge
The error happens after the composer require --update-no-dev "ezsystems/legacy-bridge:^1.3.0" step
Attachments
Issue Links
- discovered while testing
-
EZP-27142 It's not possible to install Legacy Bridge
- Closed