Closed
Bug 1367298
Opened 8 years ago
Closed 8 years ago
Duplicating a rule results in "data_version: u'' is not of type 'integer'"
Categories
(Release Engineering Graveyard :: Applications: Balrog (frontend), defect)
Release Engineering Graveyard
Applications: Balrog (frontend)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: nthomas, Unassigned)
References
Details
I was trying to duplicate ruleID 10, modifying the channel, mapping, alias, and comment but after submitting the new rule got back:
data_version: u'' is not of type 'integer'
and a 400 error. Since this is a new rule I'm not sure why data_version is an issue at all.
If I edit that out of the POST payload I get a 400 and the complaint
rule_id: u'' is not of type 'integer'
Removing that too results in a 200.
Comment 1•8 years ago
|
||
This is probably because of bug 1363058, which we recently discovered beacuse of the initial swagger work on the Rules API. I think https://github.com/mozilla/balrog/pull/317/files will provide a short term fix for this - can you confirm, Ashish?
Flags: needinfo?(ashish.sareen95)
yeah this (https://github.com/mozilla/balrog/pull/317/files#diff-3f1789fe9712aa51b9239ab016a960e0R119) will stop the exception once the PR gets merged with mainline branch
Flags: needinfo?(ashish.sareen95)
Comment 3•8 years ago
|
||
This is fixed, but duplication is still broken due to bug 1369078. A fix for that has been merged but will not be deployed until next week.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Updated•6 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
•