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

CSS files not loaded in case of error in search results tempate

    XMLWordPrintable

Details

    Description

      In case of error occurs after the "encore_entry_link_tags" call (in form handling function) - UI is loading without CSS (as encore think it's already rendered to the page).

      PR: https://github.com/ezsystems/ezplatform-admin-ui/pull/1035

      To reproduce:
      put

      {{ path('_ezpublishLocation', {'locationId': ''}) }} 
      

      at the begining of

      src/bundle/Resources/views/admin/search/search_table_row.html.twig
      

      Expected result:
      Red popup with message

      An exception has been thrown during the rendering of a template ("Parameter "locationId" for route "_ezpublishLocation" must match "[^/]++" ("" given) to generate a corresponding URL.").

      Actual result:
      Page loaded without CSS files

      Attachments

        Activity

          People

            Unassigned Unassigned
            9617ee47-cb27-4291-b8b8-676aa93a5338@accounts.ibexa.co Ivan Ternovtsiy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: