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

Using Assetic versioning (for CDN/RP cache busting) breaks Platform Admin UI

    XMLWordPrintable

Details

    Description

      Assetic bundle (since version 2.7) give us the opportunity to add a query parameter to bust CDN or Reverse Proxy cache as described here : https://symfony.com/doc/2.8/reference/configuration/framework.html#version

      But once activated on eZ Platform instance it breaks the loading of javascript files required for the Admin UI

      Steps to reproduce :
      1. In *config.yml* add the folowing lines :

      Unable to find source-code formatter for language: yml. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      assets:
              version: 'v001'
      

      2. Try to login to the Admin UI
      3. Login form not showing

      Attachments

        Activity

          People

            Unassigned Unassigned
            208797e1-eff3-4797-a0fe-90dca18a4871@accounts.ibexa.co Yannick Olympio
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: