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

On preview, JS and CSS is broken when using host-match mapping

    XMLWordPrintable

    Details

      Description

      JS/CSS rewrite rules are disabled in "dev" environment in order to allow Assetic to serve JS and CSS dynamically.

      However, if you are using host-match mapping, when you preview your content in the Administration Interface, JS/CSS is broken.

      Steps to reproduce:

      1. Create eZ Publish 5.2 installation, set in host-match mapping, and fully patched, including EZSP-004-EZP5.2;
      2. Set it in "dev" environment by configuring vhosts file and adding

          SetEnv ENVIRONMENT "dev"
      

      3. Preview an existing object. Used existing "/Getting Started/Selected Features/Getting Started with eZ Publish Platform" article. JS/CSS is broken.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              nuno.oliveira-obsolete@ez.no Nuno Oliveira (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours
                  5h