Closed Bug 1200881 Opened 9 years ago Closed 9 years ago

Work around get_parent_rr() errors in review-request-summary web API

Categories

(MozReview Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mcote, Unassigned)

Details

Attachments

(1 file)

Bug 1200615 documents an error in extra_data.get_parent_rr() in which the wrong parent may be returned if there is an old, discarded parent around.  The proper fix is somewhat involved; for now, we should just workaround this by verifying a proper parent/child relationship before returning the family summary.
Correction: we'll just not return summaries of discarded review requests, which aren't really useful anyway.
mozreview: Don't return summaries of discarded review requests (bug 1200881). r?smacleod

Bug 1200615 documents an error in mozreview.extra_data.get_parent_rr() in
which the wrong parent is returned for a child review request with a
discarded parent.  The proper fix is moving the extra_data structure into a
proper table; for now, we just omit discarded review requests, which aren't
really useful to summarize anyway.
Attachment #8656068 - Flags: review?(smacleod)
Comment on attachment 8656068 [details]
MozReview Request: mozreview: Don't return summaries of discarded review requests (bug 1200881). r?smacleod

https://reviewboard.mozilla.org/r/18081/#review16299
Attachment #8656068 - Flags: review?(smacleod) → review+
http://hg.mozilla.org/hgcustom/version-control-tools/rev/f7b6a0e264ae
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Developer Services → MozReview
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: