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

Need to click twice to activate link when attempting to add duplicate branch permission using a branch pattern

    XMLWordPrintable

Details

    Description

      Issue Summary

      When adding a duplicate branch permission, an error message shows that has a link to allow you to click through to the existing permission. When using a branch pattern, it's necessary to click twice to activate the link. (Presumably when the pattern field blurs the click is prevented from propagating or something of that nature)

      Steps to Reproduce

      1. Create a branch permission with a pattern value of "my-branch-pattern-here"
      2. Create a second branch permission and set the pattern value to "my-branch-pattern-here".

      Environment

      macOS; Firefox 72, Chrome 79, Safari 13 

      Expected Results

      Clicking once on the "Edit existing permission" link will activate it and show me the existing branch permission to edit.

      Actual Results

      Need to click twice on the "Edit existing permission" link to activate it. (It's not strictly necessary to click twice on the link, just one click outside of the pattern input field and then on the link will work too).

      Note too that if you click outside of the field, then back into the field, you can then click the link as well.

      Workaround

      None necessary, clicking twice on the link is the "workaround"

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jvanderloo@atlassian.com John van der Loo (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Backbone Issue Sync