Labels: Type-Defect Priority-Medium
New issue 3637 by gregory....@gmail.com:
RB.ReviewRequestEditor.setDraftField() unhandled error during error handling
What version are you running?
What's the URL of the page containing the problem?
It's from a custom extension. But I'm pretty sure it's a bug in core.
What steps will reproduce the problem?
1. Call into RB.ReviewRequestEditor.setDraftField()
2. Raise a PublishError from the resource handler
What is the expected output? What do you see instead?
The error appears to be during the error handling in setDraftField() at
The JSON response has a .stat and .err property, but not .fields. Accessing
the undefined property raises an uncaught TypeError and we lose the
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.