Clone URL is empty when no ssh key is available for the user and a mirror URL is selected

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • 5.7.0, 5.3.7, 5.5.6, 5.6.3, 5.4.6
    • Affects Version/s: 5.3.2, 5.6.2
    • Component/s: None
    • None
    • 3
    • Severity 3 - Minor
    • 6

      Summary

      The clone URL is empty (blank) when the following conditions are met:

      • no ssh key is available for the user, therefore SSH is not available as a clone protocol
      • a mirror URL is selected

      Steps to Reproduce

      1. Setup a user with no ssh key
      2. Setup a mirror
      3. Attempt to perform a clone and switch to one of the available mirrors from the "Clone from" drop down

      Expected Results

      The clone URL is prefilled.

      Actual Results

      The clone URL is empty.

      Notes

      Switching to a different mirror or to the upstream server will not populate the clone URL.
      To obtain the upstream server URL, select "Primary server" from the "Clone from" drop down and refresh the page.

      Workaround

      The following alternatives can be used:

      • manually retrieve the mirror URL
      • add an SSH key to the user

            Assignee:
            Frank Doherty
            Reporter:
            Caterina Curti
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: