Fix post -u bug that uses the incorrect summary.
Review Request #5041 — Created Dec. 1, 2013 and submitted
Fix post -u bug that uses the incorrect summary.
If a draft exists for the review request, post -u should use the draft’s
summary and description instead of the review request's summary and description
to detect and prompt for the review request to update. This patch fixes the
issue where post -u would always use the review request’s summary and
description even if a draft exists.
Tested with published and draft review requests.
Unit tests passed.
Description | From | Last Updated |
---|---|---|
Can you change the formatting a little bit to make the grouping clearer? summary_pair = ( self.get_draft_or_current_value( 'summary', review_request), summary) |
david |