Fix draft comments on unpublished diffs.

Review Request #13777 — Created April 23, 2024 and submitted — Latest diff uploaded

Information

Review Board
release-7.x

Reviewers

We weren't including the draft's diffset in the list of all diffsets,
which could cause a KeyError when attempting to compute the comments
hint data when there was a comment on an unpublished draft. This change
fixes that so we include the diffset and all its filediffs in the list
of all diffsets and filediffs.

Reproduced the bug with comments on draft diffs and verified that it no
longer occurred.

Commits

Files

    Loading...