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

Cache is enabled in Encore on dev environments

    XMLWordPrintable

Details

    Description

      Following instructions on https://doc.ezplatform.com/en/latest/tutorials/platform_beginner/3_customize_the_front_page/

      Adding a new entry into webpack.config.js leads to the following error if cache was not cleared:

       

      This is caused by a cache service being injected into Encore due to our configuration defaults being reversed:

      Switching to Symfony defaults fixes the issue.

      This would probably also make the mention of clearing cache in those particular docs optional if not obsolete.

      Attachments

        1. 2020-10-02_14-43.png
          135 kB
          Paweł Niedzielski
        2. image-2020-10-02-14-46-19-192.png
          107 kB
          Paweł Niedzielski
        3. image-2020-10-02-14-47-39-721.png
          52 kB
          Paweł Niedzielski

        Activity

          People

            Unassigned Unassigned
            pawel.niedzielski@ibexa.co Paweł Niedzielski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: