bandiera icon indicating copy to clipboard operation
bandiera copied to clipboard

Cannot edit, update or delete rules if their name ends in a question mark (?)

Open mattrayner opened this issue 7 years ago • 1 comments

So, interestingly, if you have a rule named show_lords_ineligibility_banner? and you try to edit, update, or delete that rule, in the UI, you get a 404

Because the link generated for an edit or delete is: /groups/parliament/features/show_lords_ineligibility_banner?/delete

Meaning the router breaks

mattrayner avatar Mar 19 '18 12:03 mattrayner

I'll look at either opening a PR to fix this, or asking one of my team to 👍

mattrayner avatar Mar 19 '18 12:03 mattrayner