-
Bug
-
Resolution: Not a bug
-
Medium
-
None
-
5.2.3, 5.12.0, 5.15.0
-
6
-
Severity 3 - Minor
-
28
-
Summary
The repository can be cloned using the URL path after the repository have been renamed with a different name.
Restarting Bitbucket Server and clearing the cache does not help.
Steps to Reproduce
Scenario 1
- Create a repository name original on Bitbucket Server.
- Perform a clone on the client machine.
- Rename the repository from original to new on Bitbucket Server.
- Remove the local repository original on the client machine.
- Perform the clone for original -> Successful
- Perform the clone for new -> Successful
Scenario 2
- Create a repository name original on Bitbucket Server.
- Rename the repository from original to new on Bitbucket Server.
- Perform the clone for original -> Successful
- Perform the clone for new -> Successful
Expected Results
Run in a warning message to indicating the repository does not exist:
$ git clone http://admin@localhost:7990/scm/ren/original.git Cloning into 'original'... Password for 'http://admin@localhost:7990': fatal: remote error: Repository not found The requested repository does not exist, or you do not have permission to access it.
Actual Results
The clone of the renamed repository is successful:
$ git clone http://localhost:7990/scm/ren/original.git Cloning into 'original'...
Workaround
n/A
- relates to
-
BSERV-3751 Allow historical aliasing of projects and repositories
- Closed
-
BSERV-10230 Allow to omit redirection feature when renaming a repostiory
- Gathering Interest
- mentioned in
-
Page Loading...