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

WebUI tries to load non-existent vendor-react.js [dirsrv-12.6]

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Minor Minor
    • dirsrv-12.6
    • None
    • cockpit-389-ds
    • None
    • rhel-idm-ds
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None

      This is a clone from DIRSRV-164:


      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

       

              Unassigned Unassigned
              vashirov@redhat.com Viktor Ashirov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: