Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-3601

Static web resource paths in gui-editor-apex are incorrect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Istanbul Release
    • Istanbul Release
    • gui
    • None

      Many of the relative paths used in the HTML/CSS for Apex Editor are incorrect in the build, e.g. index.html references "../js/fileMenu.js" instead of "js/fileMenu.js". When the project is built, maven will package the "js" and "css" directories in the same directory as index.html.

      The issue is not observed when running the Apex Editor as a jar, as Jetty server will resolve parent link above document root, e.g."../js/fileMenu.js" resolves to "/js/fileMenu.js", but it becomes troublesome if used with a proxy like nginx.

            danielhanrahan Daniel Hanrahan
            danielhanrahan Daniel Hanrahan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: