Uploaded image for project: 'Red Hat Directory Server'
  1. Red Hat Directory Server
  2. DIRSRV-164

WebUI tries to load non-existent vendor-react.js

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • dirsrv-12.5
    • cockpit-389-ds
    • None
    • None
    • rhel-sst-idm-ds
    • 0
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None

      Description of a problem

      An error is logged when RHDS WebUI is loaded:
      Refused to execute script from 'https://server.example.com:9090/cockpit/@localhost/389-console/vendor-react.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
      
      Indeed, the type is not specified here: https://github.com/389ds/389-ds-base/blob/393489b64f728156934cbfa1c190588565a2cf67/src/cockpit/389-console/src/index.html#L11
      But this file doesn't exist at all in cockpit-389-ds

      Version-Release number of the selected component

      rpm -q 389-ds-base cockpit-389-ds

      389-ds-base-2.5.2-1.el9.x86_64
      cockpit-389-ds-2.5.1-2.module+el9dsrv+22071+e756ccfb.noarch

      Browser (if applicable)

      Chrome

      Steps to reproduce

      1. Open Cockpit and choose Red Hat Directory Server
      2. An error is logged in js console
      3.
      

      Actual results

      Error is logged

      Expected results

      No error is logged

      Additional information

       

              idm-ds-dev-bugs IdM DS Dev
              vashirov@redhat.com Viktor Ashirov
              IdM DS QE IdM DS QE
              Evgenia Martyniuk Evgenia Martyniuk
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: