When user opens an issue and selects "Ship it!", the email will say "Fix it, then Ship it!"
Review Request #7685 — Created Oct. 9, 2015 and submitted
When user opens an issue and selects "Ship it!", the email will say "Fix it, then Ship it!" This bug was fixed by checking if the user opened an issue and saying "Fix it, then Ship it!" if they did.
Bug Description:
1. A user makes a review request
2. A reviewer opens an issue but gives a "Ship it!"
3. The review request page updates with the "Fix it, then Ship it!" label on the submitted review
4. The sent notification email incorrectly labels the review as "Ship it!". It should read "Fix it, then Ship it!"
Tested the behavior using the local development server and printed email to the terminal. The emails were sent with the correct content.
Ran and passed all unit tests.
Description | From | Last Updated |
---|---|---|
Col: 5 E303 too many blank lines (2) |
reviewbot | |
Col: 17 E126 continuation line over-indented for hanging indent |
reviewbot | |
Col: 14 E126 continuation line over-indented for hanging indent |
reviewbot | |
With this change, we're now showing "Fix it, then ship it!" always, even if the review didn't include the "ship … |
david | |
Col: 13 E131 continuation line unaligned for hanging indent |
reviewbot | |
Col: 13 E131 continuation line unaligned for hanging indent |
reviewbot | |
Col: 21 E701 multiple statements on one line (colon) |
reviewbot | |
You fixed the .html template but it needs the same fix here. |
david | |
Likewise here. Also, we can put the <p> inside the first {% if %} block tag. |
brennie | |
The indentation of this is off. it should be: ``` {% if ship_it %} {% if has_issues %} Fix it, … |
brennie |
-
Tool: Pyflakes Processed Files: reviewboard/notifications/email.py Ignored Files: reviewboard/templates/notifications/review_email.txt reviewboard/templates/notifications/review_email.html Tool: PEP8 Style Checker Processed Files: reviewboard/notifications/email.py Ignored Files: reviewboard/templates/notifications/review_email.txt reviewboard/templates/notifications/review_email.html
- Change Summary:
-
Updated to display no message if the user does not select "Ship it!" and there are no issues.
-
Tool: PEP8 Style Checker Processed Files: reviewboard/notifications/email.py Ignored Files: reviewboard/templates/notifications/review_email.txt reviewboard/templates/notifications/review_email.html
-
-
-
-
Tool: Pyflakes Processed Files: reviewboard/notifications/email.py Ignored Files: reviewboard/templates/notifications/review_email.txt reviewboard/templates/notifications/review_email.html Tool: PEP8 Style Checker Processed Files: reviewboard/notifications/email.py Ignored Files: reviewboard/templates/notifications/review_email.txt reviewboard/templates/notifications/review_email.html
- Change Summary:
-
Improve summary of the changes
- Summary:
-
Fix EasyFix bug with incorrect message in emailWhen user opens an issue and selects "Ship it!", the email will say "Fix it, then Ship it!"
- Description:
-
~ Fix EasyFix bug with incorrect message in email
~ When user opens an issue and selects "Ship it!", the email will say "Fix it, then Ship it!" This bug was fixed by checking if the user opened an issue and saying "Fix it, then Ship it!" if they did.
Bug Description:
1. A user makes a review request 2. A reviewer opens an issue but gives a "Ship it!" 3. The review request page updates with the "Fix it, then Ship it!" label on the submitted review 4. The sent notification email incorrectly labels the review as "Ship it!". It should read "Fix it, then Ship it!" - - Fixed the bug so that when user opens and issue and selects "Ship it!", the email will say "Fix it, then Ship it!" This bug was fixed by checking if the user opened an issue and saying "Fix it, then Ship it!" if they did.
-
Tool: Pyflakes Processed Files: reviewboard/notifications/email.py Ignored Files: reviewboard/templates/notifications/review_email.txt reviewboard/templates/notifications/review_email.html Tool: PEP8 Style Checker Processed Files: reviewboard/notifications/email.py Ignored Files: reviewboard/templates/notifications/review_email.txt reviewboard/templates/notifications/review_email.html
-
Tool: Pyflakes Processed Files: reviewboard/notifications/email.py Ignored Files: reviewboard/templates/notifications/review_email.txt reviewboard/templates/notifications/review_email.html Tool: PEP8 Style Checker Processed Files: reviewboard/notifications/email.py Ignored Files: reviewboard/templates/notifications/review_email.txt reviewboard/templates/notifications/review_email.html