Details
-
Bug
-
Resolution: Fixed
-
Medium
-
6.3.5, 6.10.1
-
1
-
Severity 3 - Minor
-
1
-
Description
Issue Summary
If a branch permission is created at the project level, a user will be unable to edit the branch permission if the branch name that was entered can be interpreted as a number.
Steps to Reproduce
- Go to <base_URL>/plugins/servlet/branch-permissions/<project_key>
- Add a branch permission
- Choose branch name and enter a branch name that can be interpreted as a number eg. 555.55
Expected Results
After creating the branch permission a user should be able to click the 'pencil' icon and edit the branch permission
Actual Results
- The edit dialog does not get displayed
- We see the following error in the browser's dev panel console:
Uncaught The typeof 555.55 is number but expected it to be string
Workaround
- Add a new permission with the same branch name
- A warning stating A branch permission already exists for 555.55 will be displayed with a hyperlink to edit the existing branch permission
- Click the link twice and the branch permission can be edited from there
Attachments
Issue Links
- was split into
-
BSERV-12218 Need to click twice to activate link when attempting to add duplicate branch permission using a branch pattern
-
- Long Term Backlog
-
- mentioned in
-
Page Loading...