openhatch / oh-bugimporters

Bug importers for the OpenHatch project oh-mainline
https://oh-bugimporters.readthedocs.org/
GNU Affero General Public License v3.0
12 stars 28 forks source link

Bugzilla importer crashes when bugs become secret #80

Closed ghost closed 10 years ago

ghost commented 10 years ago

Comment by paulproteus:

The KDE bug tracker recently converted a bug (#232239) so that public views of the bug via XML give this fragment:

<bug error="NotPermitted"> <bug_id>232239</bug_id> </bug>

That causes our bug parser to crash.

What I've done in the past is to manually delete the offending bug, but this is a clear use-case for a oh-bugimporters to be able to signal to oh-mainline that a bug has become deleted. At the very least, we should make sure we have a test that indicates we don't crash.


Comment by paulproteus:

I fixed this here: https://github.com/openhatch/oh-bugimporters/commit/90fc103d261179c2ca97c3206f5cc8c63eb093e2

Note that the bug will remain cached in our database and just become more and more stale. Therefore at the moment it will require manual intervention to identify and fix such a bug. For now this is fine, though, I believe.


Status: resolved Nosy List: paulproteus Priority: bug Imported from roundup ID: 794 (view archived page) Last modified: 2012-11-26.19:48:04