Affected Version: 2.2.1
What steps will reproduce the problem?
1. In version 2.1.6 of Gerrit add reference access for: "^refs/heads/[A-Z]{2,}-[0-9]+.*"
2. Upgrade to version 2.2.1 (2.1.6 -> 2.1.7 -> 2.2.0 -> 2.2.1)
3. Now you cannot edit previously created reference. In form after clicking edit button it transforms from "^refs/heads/[A-Z]{2,}-[0-9]+.*" to "refs/heads/^refs/heads/[A-Z]{2,}-[0-9]+.*"
What is the expected output? What do you see instead?
Allow editing this field or automatic fix of wrong created regexp, now i cannot edit this access right but it's works correctly.
Please provide any additional information below.
Twoo screenshots list_view.png and edit_view.png.
Labels: FixedIn-2.2.2