Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#10449 closed defect (cantfix)

KeyError: test_suite-requirement

Reported by: jbenka Owned by:
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords:
Cc: support@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a POST operation on /admin/agilo/links, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'__FORM_TOKEN': u'eb77364a8d621e3fd781c3b6',
 'cat_id': u'agilo',
 'panel_id': u'links',
 'path_info': None,
 'remove': u'Remove selected links',
 'sel': u'test_suite-requirement'}

User Agent was: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1

System Information

Trac 0.11.7.1dev-r9925
Python 2.6.4 (r264:75706, Aug 3 2010, 14:43:08)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-48)]
setuptools 0.6c11
psycopg2 2.2.2
Genshi 0.5.1
RPC 1.1.0-r9262
Agilo 0.9.0.3
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/opt/python2.6/lib/python2.6/site-packages/Trac-0.11.7.1dev_r9925-py2.6.egg/trac/web/main.py", line 450, in _dispatch_request
    dispatcher.dispatch(req)
  File "/opt/python2.6/lib/python2.6/site-packages/Trac-0.11.7.1dev_r9925-py2.6.egg/trac/web/main.py", line 206, in dispatch
    resp = chosen_handler.process_request(req)
  File "/opt/python2.6/lib/python2.6/site-packages/Trac-0.11.7.1dev_r9925-py2.6.egg/trac/admin/web_ui.py", line 114, in process_request
    path_info)
  File "/opt/python2.6/lib/python2.6/site-packages/agilo-0.9.0.3-py2.6.egg/agilo/api/admin.py", line 55, in render_admin_panel
    return self.list_save_view(req, cat, page)
  File "/opt/python2.6/lib/python2.6/site-packages/agilo-0.9.0.3-py2.6.egg/agilo/ticket/links/admin.py", line 121, in list_save_view
    del self.allowed_links[s]
KeyError: u'test_suite-requirement'

Attachments (0)

Change History (3)

comment:1 by jbenka@…, 13 years ago

I linked ticket types test suite and requirement. The link did appear to create successfully but did not appear as an option to link on the test suite. I tried a reciprocal link, requirement to test suite. It still did not appear to allow the link. Then I tried to delete the links I had created and received the error specified in this email.

comment:2 by Remy Blank, 13 years ago

Cc: support@… added
Release Notes: modified (diff)
Resolution: cantfix
Status: newclosed

comment:3 by stefano.rago@…, 13 years ago

@rblank: thanks for the cc @jbenka: I see you are using a quite old version of Agilo, please try updating it (instructions here: https://agilo.agilofortrac.com/wiki/agilo/dev/users/UpgradeGuide)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.