Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-8568

Cloning public repositories from a Mirror does not work

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.3.3, 4.4.2, 4.5.1
    • 4.2.0, 4.3.0, 4.4.0
    • 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.

            [BSERV-8568] Cloning public repositories from a Mirror does not work

            Owen made changes -
            Workflow Original: Stash Workflow - Restricted [ 1448128 ] New: JAC Bug Workflow v3 [ 3134791 ]
            Owen made changes -
            Workflow Original: Stash Workflow [ 1231041 ] New: Stash Workflow - Restricted [ 1448128 ]
            Ben Humphreys made changes -
            Fix Version/s Original: 4.5.0 [ 60558 ]
            Ben Humphreys made changes -
            Fix Version/s New: 4.5.1 [ 61533 ]
            Ben Humphreys made changes -
            Fix Version/s New: 4.5.0 [ 60558 ]
            Fix Version/s New: 4.3.3 [ 61523 ]
            Fix Version/s New: 4.4.2 [ 61524 ]
            Ben Humphreys made changes -
            Component/s New: Enterprise [ 22391 ]
            Component/s Original: Enterprise [ 23690 ]
            Key Original: BSERVDEV-12332 New: BSERV-8568
            Affects Version/s New: 4.4.0 [ 60546 ]
            Affects Version/s New: 4.3.0 [ 60291 ]
            Affects Version/s New: 4.2.0 [ 59390 ]
            Affects Version/s Original: 4.3.0 [ 60158 ]
            Affects Version/s Original: 4.4.0 [ 60490 ]
            Affects Version/s Original: 4.2.0 [ 59590 ]
            Workflow Original: Stash Dev Bug Workflow [ 1150348 ] New: Stash Workflow [ 1231041 ]
            Project Original: Bitbucket Server Dev [ 13710 ] New: Bitbucket Server [ 13310 ]
            Felix (Inactive) made changes -
            Tested By New: Felix Haehnel [ fhaehnel ]
            Resolution New: Fixed [ 1 ]
            Status Original: Quality Review [ 10029 ] New: Closed [ 6 ]
            Felix (Inactive) made changes -
            Developed By New: Felix Haehnel [ fhaehnel ]
            Status Original: To be reviewed [ 10026 ] New: Quality Review [ 10029 ]
            Cristan Szmajda (Inactive) made changes -
            Sprint Original: Enterprise 4.5-M2 [ 3035 ] New: Enterprise 4.5-M2, Enterprise 4.5-M3 [ 3035, 3052 ]
            Cristan Szmajda (Inactive) made changes -
            Link New: This issue is a regression of BSERVDEV-11282 [ BSERVDEV-11282 ]

              fhaehnel Felix (Inactive)
              fhaehnel Felix (Inactive)
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: