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

Choosing a project while forking a repository cause Java error in Bitbucket 6.1.0 when personal repositories feature is disabled

      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

      1. Disable Personal Repository feature by adding the following line to bitbucket.properties:
        feature.personal.repos=false
        
      2. Restart the Bitbucket Server.
      3. Create two different project called project-01 and project-02
      4. Create a repository called repo-01 in project-01 and populate repo-01 with files.
      5. Fork the repo-01 to project-02 - Go to forks -> Create fork
      6. Select the project-02 in Fork creation screen
      7. Click 'Fork repository'

      Expected Results

      A fork is created in the project selected.

      Actual Results

      Fork funtion throwing errors:

      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

        1. fork-610.png
          fork-610.png
          64 kB
        2. atlassian-bitbucket.log
          82 kB
        3. 10.60.2.245.har
          2.43 MB

          Form Name

            [BSERV-11829] Choosing a project while forking a repository cause Java error in Bitbucket 6.1.0 when personal repositories feature is disabled

            Kristy made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 443572 ]
            Kristy made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Short Term Backlog [ 12074 ] New: Closed [ 6 ]
            Kristy made changes -
            Link New: This issue is caused by BSERV-11622 [ BSERV-11622 ]
            Kristy made changes -
            Fix Version/s New: 6.1.1 [ 85801 ]
            Fix Version/s New: 6.0.2 [ 85800 ]
            Affects Version/s New: 6.0.0 [ 82493 ]
            Kristy made changes -
            Assignee New: Kristy [ khughes@atlassian.com ]
            Dan (Inactive) made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 439422 ]
            Andrei Khudavets made changes -
            Status Original: Needs Triage [ 10030 ] New: Short Term Backlog [ 12074 ]
            Andrei Khudavets made changes -
            Priority Original: Medium [ 3 ] New: High [ 2 ]
            Andrei Khudavets made changes -
            Priority Original: High [ 2 ] New: Medium [ 3 ]
            tomas made changes -
            Status Original: Short Term Backlog [ 12074 ] New: Needs Triage [ 10030 ]

              khughes@atlassian.com Kristy
              bannamalai Baskar Annamalai (Inactive)
              Affected customers:
              1 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: