CodeReviewVoteReferenceEdit can crash on a Git merge proposal

Bug #1986598 reported by William Grant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
High
Unassigned

Bug Description

As seen in OOPS-8c5907048be5c6db598311e5b79fabab, CodeReviewVoteReferenceEdit can crash when run on a Git merge proposal, since it uses target_branch rather than merge_target:

  Module lp.app.security, line 146, in iter_objects
    "Either set forwarded_object or override iter_objects."
ValueError: Either set forwarded_object or override iter_objects.

Tags: oops
Changed in launchpad:
importance: Undecided → High
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.