Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-25915

Avoid RunTimeException on composer update/install on bundle changes when clearing cache

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Medium Medium
    • 1.4.0-rc1
    • None
    • Composer, Symfony
    • None

    Description

      When switching between branches and doing composer install/update you'll sometimes get RunTimeException because a bundle has been removed as soon as something triggers container load.

      Ironically the first thing that triggers container load is cacheClear() in post composer install/update command, as defined in composer.json.

      This can be avoided by deleting the container first to trigger cache clear command to do so using a fresh container dump.

      Attachments

        Activity

          People

            Unassigned Unassigned
            andre.romcke-obsolete@ez.no André Rømcke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: