Closed
Bug 743989
Opened 12 years ago
Closed 12 years ago
Improve mediawiki-bugzilla error reporting
Categories
(Websites :: wiki.mozilla.org, defect)
Websites
wiki.mozilla.org
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: lmandel, Unassigned)
Details
(Whiteboard: [mediawiki-bugzilla])
mediawiki-bugzilla doesn't currently provide much in the way of error reporting that can be used for diagnosing errors. Based on observed interaction with this integration I think we should add an error message: 1. when the JSON query specified is invalid. At a minimum the message should state that the JSON query is invalid. Better would be to identify the problem area if the parser gives us access to this information. 2. when Bugzilla is unresponsive. A blank result set is currently returned causing empty tables and malformed charts. In this case it is preferable to inform people that the issue is with Bugzilla and not the mediawiki integration so that we can address the source of the issue.
1. I did it in https://github.com/LegNeato/mediawiki-bugzilla/commit/8912fa164cfebf937cf59037b308bea3a9273b81. The php json errors are not helpful. 2. Haven't touched it yet
Comment 2•12 years ago
|
||
(In reply to Christian Legnitto [:LegNeato] from comment #1) > 1. I did it in > https://github.com/LegNeato/mediawiki-bugzilla/commit/ > 8912fa164cfebf937cf59037b308bea3a9273b81. The php json errors are not > helpful. > > 2. Haven't touched it yet Christian, its great to see you still interested in this project! I'm glad your new role didn't eat you. ;-) We've created a canonical repository for mediawiki-bugzilla here: https://github.com/mozilla/mediawiki-bugzilla I'd recommend forking that repository, and working from there, since several things have changed (the removal of Smarty, etc.). If you submit a pull request I can review it.
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•