RESOLVED FIXED 186748
QueueStatusServer: "'NoneType' object has no attribute 'message'" in ReleasePatch.get() when attachment is skipped by queue
https://bugs.webkit.org/show_bug.cgi?id=186748
Summary QueueStatusServer: "'NoneType' object has no attribute 'message'" in ReleaseP...
Daniel Bates
Reported 2018-06-16 18:28:24 PDT
QueueStatusServer: "'NoneType' object has no attribute 'message'" in ReleasePatch.get() when attachment is skipped by queue. The backtrace has the form: 'NoneType' object has no attribute 'message' Traceback (most recent call last): File "/.../webapp2.py", line 1511, in __call__ rv = self.handle_exception(request, response, e) File "/.../webapp2.py", line 1505, in __call__ rv = self.router.dispatch(request, response) File "/.../webapp2.py", line 1253, in default_dispatcher return route.handler_adapter(request, response) File "/.../webapp2.py", line 1077, in __call__ return handler.dispatch() File "/.../webapp2.py", line 547, in dispatch return self.handle_exception(e, self.app.debug) File "/.../webapp2.py", line 545, in dispatch return method(*args, **kwargs) File "/.../handlers/releasepatch.py", line 59, in post RecordPatchEvent.stopped(attachment_id, queue_name, last_status.message) AttributeError: 'NoneType' object has no attribute 'message'
Attachments
Patch (3.69 KB, patch)
2018-06-16 18:29 PDT, Daniel Bates
no flags
Patch and unit tests (6.90 KB, patch)
2018-06-16 22:29 PDT, Daniel Bates
no flags
Daniel Bates
Comment 1 2018-06-16 18:29:30 PDT
EWS Watchlist
Comment 2 2018-06-16 18:31:13 PDT
Attachment 342902 [details] did not pass style-queue: ERROR: Tools/ChangeLog:10: Please consider whether the use of security-sensitive phrasing could help someone exploit WebKit: security bug, security bug [changelog/unwantedsecurityterms] [3] Total errors found: 1 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
Daniel Bates
Comment 3 2018-06-16 22:29:41 PDT
Created attachment 342905 [details] Patch and unit tests
Daniel Bates
Comment 4 2018-06-19 12:39:57 PDT
Comment on attachment 342905 [details] Patch and unit tests Clearing flags on attachment: 342905 Committed r232973: <https://trac.webkit.org/changeset/232973>
Daniel Bates
Comment 5 2018-06-19 12:39:59 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 6 2018-06-19 12:40:45 PDT
Daniel Bates
Comment 7 2018-06-22 17:41:04 PDT
*** Bug 171463 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.