Closed
Bug 1346212
Opened 7 years ago
Closed 7 years ago
Cannot revert a rule change: https://aus4-admin.mozilla.org/api/rules/undefined/revisions
Categories
(Release Engineering Graveyard :: Applications: Balrog (frontend), defect, P2)
Release Engineering Graveyard
Applications: Balrog (frontend)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jlorenzo, Assigned: harikishenh)
References
Details
(Whiteboard: [lang=js][good first bug][ready])
STEPS TO REPRODUCE 1. View the history of a rule. 2. Revert to the one-before-last revision RESULTS The UI shows the following error: > A resource was requested that can't be found (POST /api/rules/undefined/revisions) The state of rule remained the same. The network panel shows that the front end requested: > https://aus4-admin.mozilla.org/api/rules/undefined/revisions REPRO FREQUENCY: 3/3 ENVIRONMENT First noticed on the current production env. Then, repro'd against the latest master, revision 8f8057168b0ab13177468cac93b85af4cfcb2472
Comment 1•7 years ago
|
||
Looks like this happens for revisions further back than N-1 too. I'm guessing the "Revert" button is completely busted. Probably something wrong in one of: https://github.com/mozilla/balrog/blob/8f8057168b0ab13177468cac93b85af4cfcb2472/ui/app/js/controllers/rules_controller.js https://github.com/mozilla/balrog/blob/8f8057168b0ab13177468cac93b85af4cfcb2472/ui/app/templates/rules.html https://github.com/mozilla/balrog/blob/8f8057168b0ab13177468cac93b85af4cfcb2472/ui/app/js/controllers/rule_revert_controller.js
Priority: -- → P2
Whiteboard: [lang=js][good first bug][ready]
Assignee | ||
Comment 2•7 years ago
|
||
I would like to work on this.
Comment 3•7 years ago
|
||
It's all yours! Do you know how to get started?
Assignee: nobody → hari751995
Flags: needinfo?(hari751995)
Assignee | ||
Comment 4•7 years ago
|
||
Actually i'm new to balrog , new to opensource in fact. I also want your help on https://bugzilla.mozilla.org/show_bug.cgi?id=1363058
Flags: needinfo?(hari751995)
Assignee | ||
Comment 5•7 years ago
|
||
I believe this should fix this: https://github.com/mozilla/balrog/pull/324.
Comment 6•7 years ago
|
||
Commit pushed to master at https://github.com/mozilla/balrog https://github.com/mozilla/balrog/commit/a223b6eea5afb694ad817a2a1a76291b6917eab0 bug 1346212: Cannot revert a rule change (#324). r=bhearsum
Comment 7•7 years ago
|
||
In production. Thanks for fixing this Harkishen!
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Product: Release Engineering → Release Engineering Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•