Fix problems when a user closes their own issues requiring verification.
Review Request #9447 — Created Dec. 18, 2017 and submitted
This change makes it so that users who click "Fixed" (or "Drop") on
issues that they created will transition the issue state directly to
closed, even if the issue had been set to require verification. As it
currently exists, the issue would transition to waiting for
verification, which was unexpected. This also fixes up an issue where a
user object was compared to a pk.
- Ran unit tests.
- Exercised the test case listed in the bug.
Description | From | Last Updated |
---|---|---|
I feel like the name might need a small adjustment. Maybe isAuthorLoggedInUser? Not a major change, but clarifies "is the … |
chipx86 |
-
-
reviewboard/static/rb/js/resources/models/baseCommentModel.es6.js (Diff revision 1) I feel like the name might need a small adjustment. Maybe
isAuthorLoggedInUser
? Not a major change, but clarifies "is the author of this currently logged in (somewhere)" to be "is the author of this the current logged in user?" What do you think?
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 2 (+25 -5) |