Cloning public repositories from a Mirror does not work

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 4.3.3, 4.4.2, 4.5.1
    • Affects Version/s: 4.2.0, 4.3.0, 4.4.0
    • Component/s: Enterprise
    • None

      Summary

      Cloning a public repository from a mirror does not work without credentials

      Steps to Reproduce

      1. Start Bitbucket Server instance and Mirror
      2. Create a public repository on the primary
      3. Sync the repository to the mirror
      4. Attempt to clone the repository over HTTP without using credentials

      Expected Results

      The clone succeeds without prompting for credentials.

      Actual Results

      The clone fails and asks for credentials. Entering valid credentials makes the clone succeed.

      Cause

      This is caused by validateAuthenticated calls in a mirror specific SCM request check.

      Workaround

      Clone from upstream.

            Assignee:
            Felix (Inactive)
            Reporter:
            Felix (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: