Details

    • Type: Bug
    • Status: Closed (View workflow)
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 0.7.0
    • Fix Version/s: 0.7.0, 0.7.1
    • Component/s: cerberus
    • Labels:
      None
    • Environment:

      latest rel

      Description

      Hello all!

      There is a problem with the VNC web console client.
      When you try to use it, the browser shows the following error.

      Uncaught TypeError: Cannot read property 'replace' of undefined
      

      This happends on this line https://github.com/project-fifo/cerberus/blob/dev/resources/public/stuff/vnc.js#L43

      var host = Config["ws"].replace(/wss?:\/\//, "") || window.location.host;
      

      So, the default config file, does not include a value for 'ws', thus provating the problem.

      Does anyone uses that config value for? it seems to be there only for debug proposes?
      If yes, i guess we should provide a default empty value.
      If not, i guess we can just delete the config for it (and on the vnc.js file too...)

      My vote would be for just delete it.

      Note: this was found by Braden from irc.

        Attachments

          Activity

            People

            • Assignee:
              heinz Heinz N. Gies
              Reporter:
              killfill Phillip Neumann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: