Uploaded image for project: 'SR for Bitbucket - Development'
  1. SR for Bitbucket - Development
  2. SRBITB-683

'Automatically configure delete branch checkbox' applies even when branch deletion isn't permitted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Medium
    • Resolution: Done
    • 5.6.11.2
    • 5.9.0
    • None
    • None
    • DevTools 74, DevTools 75
    • 0.6

    Description

      To reproduce:

      • Set up branch permissions on a repository such that a certain branch cannot be deleted.
      • Set up an 'Automatically configure delete branch checkbox' handler on that same repository.
      • Create a pull request from the undeletable branch to some other branch.
      • Open up the Merge dialog on the PR.

      Expected: The checkbox for deleting the source branch (which is greyed out) is not checked, and the merge can be performed without errors.

      Actual: The checkbox is checked and the merge can be performed, but there is an error message saying that the source branch couldn't be deleted.

      Attachments

        Activity

          People

            jmarques Zeca Marques [X] (Inactive)
            jchoules Joanna Choules
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: