Bug 1126163 - python-bugzilla: saved search doesn't work
Summary: python-bugzilla: saved search doesn't work
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: python-bugzilla
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-02 22:39 UTC by Need Real Name
Modified: 2014-08-05 09:55 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-05 09:55:15 UTC


Attachments (Terms of Use)

Description Need Real Name 2014-08-02 22:39:44 UTC
Description of problem:

% bugzilla --nosslverify query --savedsearch=ruby
Traceback (most recent call last):
  File "/usr/local/bin/bugzilla", line 1250, in <module>
    main()
  File "/usr/local/bin/bugzilla", line 1215, in main
    buglist = _do_query(bz, opt, parser)
  File "/usr/local/bin/bugzilla", line 683, in _do_query
    tags=getattr(opt, "tags", None))
  File "/usr/local/lib/python2.7/site-packages/bugzilla/bugzilla4.py", line 24, in build_query
    query = Bugzilla36.build_query(self, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/bugzilla/base.py", line 1100, in build_query
    "bugzilla" % key)
RuntimeError: 'savedsearch' search not supported by this bugzilla

Version-Release number of selected component (if applicable):
1.1.0

How reproducible:

Install version 1.1.0 and patch default bugzilla:
-default_bz = 'https://bugzilla.redhat.com/xmlrpc.cgi'
+default_bz = 'https://bugs.FreeBSD.org/bugzilla/xmlrpc.cgi'

Steps to Reproduce:

See above

Actual results:

See above

Expected results:

search results

Additional info:

Comment 1 Cole Robinson 2014-08-05 09:55:15 UTC
Thanks for the report, but indeed the freebsd bugzilla instance does not support invoking saved searches over the XMLRPC interface, that's a bugzilla.redhat.com extension. I clarified the error message with this commit:

commit 4490dbc626cb6f26f69110c051e236f2b05e8262
Author: Cole Robinson <crobinso@redhat.com>
Date:   Tue Aug 5 11:16:11 2014 +0200

    base: Clarify that unsupported searches are talking about XMLRPC (bz 1126163

But otherwise it's NOTABUG


Note You need to log in before you can comment on or make changes to this bug.