Review Request: Implement a dialog to show unhandled Bugzilla errors
Darío Andrés Rodríguez
andresbajotierra at gmail.com
Mon Mar 7 20:29:02 GMT 2011
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100681/
-----------------------------------------------------------
(Updated March 7, 2011, 8:29 p.m.)
Review request for KDE Runtime and George Kiagiadakis.
Changes
-------
Finally got a KDE trunk installation again. The second version of the patch didn't even compile.
This new version compiles and check the QWeakPointer validation.
Note: this validation should also be applied on drkonqi.cpp (DrKonqi::saveReport)
Summary
-------
Initial patch
I created a dialog that will show the RAW Bugzilla HTML output when the response can't be parsed by DrKonqi. The user is encouraged to perform the action again later or save the HTML data to submit a DrKonqi bug.
This function is available for the login and the submit (new report or attach to an existant one) processes.
BugzillaLib error message signals were enhanced to hold the raw html (if it makes sense to show it)
The text on the dialog could be changed.
Additional fix: disconnect signals prior to creating a new report or attaching to an existing one; avoiding duplicates dialog. (may be this should go as another patch)
This addresses bug 266542.
http://bugs.kde.org/show_bug.cgi?id=266542
Diffs (updated)
-----
drkonqi/CMakeLists.txt 87c3d24
drkonqi/bugzillalib.h cb7da10
drkonqi/bugzillalib.cpp 348fb72
drkonqi/reportassistantpages_bugzilla.h 8681f22
drkonqi/reportassistantpages_bugzilla.cpp e896c52
drkonqi/reportinterface.h a1fc78a
drkonqi/reportinterface.cpp a484d11
Diff: http://git.reviewboard.kde.org/r/100681/diff
Testing
-------
Tested by faking some errors during the login and submit (new report) processes.
The code should be reviewed as I stop coding for KDE several months ago.
Screenshots
-----------
Unhandled Error Dialog
http://git.reviewboard.kde.org/r/100681/s/77/
Thanks,
Darío Andrés
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20110307/6ea6a5a7/attachment.htm>
More information about the kde-core-devel
mailing list