Fix API issues creating comments on draft diffs.
Review Request #12946 — Created April 12, 2023 and submitted
This change fixes up a few issues with the API making comments on
not-yet-published diffs. The main problem here is that the DiffSet is not
added to the review request's DiffSetHistory until it is published. This
change fixes up the queries for bothget_querysetandcreateto
handle this.
- Ran unit tests.
- Added some comments to a diff that was not yet published.
| Summary | ID |
|---|---|
| d9877780a65c0e2cad0bfc4755cd8063087fe0f8 |
| Description | From | Last Updated |
|---|---|---|
|
line too long (90 > 79 characters) Column: 80 Error code: E501 |
|
|
|
line too long (80 > 79 characters) Column: 80 Error code: E501 |
|
|
|
unexpected spaces around keyword / parameter equals Column: 75 Error code: E251 |
|
|
|
continuation line over-indented for visual indent Column: 23 Error code: E127 |
|
|
|
unexpected spaces around keyword / parameter equals Column: 65 Error code: E251 |
|
|
|
continuation line over-indented for visual indent Column: 23 Error code: E127 |
|
|
|
line too long (90 > 79 characters) Column: 80 Error code: E501 |
|
|
|
line too long (80 > 79 characters) Column: 80 Error code: E501 |
|