-
Bug
-
Resolution: Fixed
-
High
-
6.0.0, 6.1.0
-
1
-
Severity 3 - Minor
-
3
-
Issue Summary
In Bitbucket Server version 6.1.0, as similar to bug BSERV-11622 but with personal repository feature is disabled. Upon choosing a different project and attempt to fork the repository cause Java error.
Environment
- Bitbucket Server ver6.1.0
- Tested OS - Windows 10 Pro & Ubuntu 16.04 LTS
- Tested Database - Bundle DB H2 and MySQL
- Personal Repository feature is disabled.
Steps to Reproduce
- Disable Personal Repository feature by adding the following line to bitbucket.properties:
feature.personal.repos=false
- Restart the Bitbucket Server.
- Create two different project called project-01 and project-02
- Create a repository called repo-01 in project-01 and populate repo-01 with files.
- Fork the repo-01 to project-02 - Go to forks -> Create fork
- Select the project-02 in Fork creation screen
- Click 'Fork repository'
Expected Results
A fork is created in the project selected.
Actual Results
Notes
- The log file did not show any related trace.
- HAR file does not provide much info as well.
(Optional - If Necessary)
Workaround
Required, if there is no workaround please state:
Currently there is no known workaround for this behavior. A workaround will be added here when available
- is caused by
-
BSERV-11622 Choosing a project while forking a repository doesn't work in Bitbucket 6.0
-
- Closed
-
This bug occurs on 6.1.0 but not on 6.1.1. This is because on 6.1.0 there is a bug (
BSERV-11622) that stops the project field from being correctly filled. When the personal repositories feature is enabled, the symptom is that the fork is created in the personal project instead of whatever project was selected. When the personal repositories feature is disabled, the symptom is the error described here