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

    • Type: Improvement
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0-rc1
    • Component/s: Composer, Symfony
    • Labels:
      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

            Assignee:
            Unassigned
            Reporter:
            andre.romcke@ez.no André Rømcke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: