Bug 862231 - Test plan searching crashes
Summary: Test plan searching crashes
Keywords:
Status: CLOSED DUPLICATE of bug 841299
Alias: None
Product: Fedora
Classification: Fedora
Component: python-nitrate
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Šplíchal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-02 11:40 UTC by Martin Kudlej
Modified: 2016-06-01 01:43 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-06 16:24:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Martin Kudlej 2012-10-02 11:40:30 UTC
Description of problem:
>>> for plan in TestPlan.search(product__name="Red Hat Enterprise MRG",default_product_version="2.2"):
...   print plan.name
... 
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/nitrate/api.py", line 2272, in search
    for hash in Nitrate()._server.TestPlan.filter(dict(query))]
  File "/usr/lib/python2.7/site-packages/nitrate/api.py", line 2249, in __init__
    self._get(testplanhash=testplanhash)
  File "/usr/lib/python2.7/site-packages/nitrate/api.py", line 2356, in _get
    self._type = PlanType(testplanhash["type_id"])
  File "/usr/lib/python2.7/site-packages/nitrate/api.py", line 731, in __init__
    "Not a valid Test Plan Type id: '{0}'".format(plantype))
nitrate.xmlrpc.NitrateError: Not a valid Test Plan Type id: '36'

Version-Release number of selected component (if applicable):
python-nitrate-0.9-0.fc16.noarch also visible in stable version 0.8

How reproducible:
100%

Comment 1 Petr Šplíchal 2012-10-02 13:10:19 UTC
I believe this is a duplicate of bug 841299. Am I right, Martin? I
expect this to be fixed in about two to three weeks.

Comment 2 Martin Kudlej 2012-10-02 13:18:52 UTC
I don't know, I've just performed plan search.

Comment 3 Petr Šplíchal 2012-12-06 16:24:31 UTC
I have verified that fix for bug 841299 resolves this issue as
well ---> closing as duplicate.

*** This bug has been marked as a duplicate of bug 841299 ***


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