Edgewall Software
Modify

Ticket #9228 (closed enhancement: cantfix)

Opened 22 months ago

Last modified 22 months ago

KeyError: u'enhancement-story'

Reported by: pepequique@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.5
Severity: major Keywords: link delete
Cc: support@…
Release Notes:
API Changes:

Description

I've found that I am unable to delete a link I've just created between two types.

I added some fields to the enhancement type, then i tried to create a link, but I did it in the wrong order (enh - task instead of task - enh).

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'73cb1b8241b891716dc4c4e0',
 'cat_id': u'agilo',
 'panel_id': u'links',
 'path_info': None,
 'remove': u'Remove selected links',
 'sel': u'enhancement-story'}

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3

System Information

Trac 0.11.5
Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)]
setuptools 0.6c9
SQLite 3.3.4
pysqlite 2.3.2
Genshi 0.5.1
Agilo 1.2.1-pro
Subversion 1.5.6 (r36142)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "C:\Program Files\Agilo\lib\site-packages\trac-0.11.5-py2.5.egg\trac\web\main.py", line 444, in _dispatch_request
    dispatcher.dispatch(req)
  File "C:\Program Files\Agilo\lib\site-packages\trac-0.11.5-py2.5.egg\trac\web\main.py", line 205, in dispatch
    resp = chosen_handler.process_request(req)
  File "C:\Program Files\Agilo\lib\site-packages\trac-0.11.5-py2.5.egg\trac\admin\web_ui.py", line 114, in process_request
    path_info)
  File "C:\Program Files\Agilo\lib\site-packages\binary_agilo-1.2.1_pro-py2.5.egg\agilo\api\admin.py", line 54, in render_admin_panel
    return self.list_save_view(req, cat, page)
  File "C:\Program Files\Agilo\lib\site-packages\binary_agilo-1.2.1_pro-py2.5.egg\agilo\ticket\links\admin.py", line 121, in list_save_view
    del self.allowed_links[s]
KeyError: u'enhancement-story'


Attachments

Change History

comment:1 Changed 22 months ago by rblank

  • Cc support@… added
  • Resolution set to cantfix
  • Status changed from new to closed

comment:2 Changed 22 months ago by Martin Häcker <martin.haecker@…>

@reporter: yeah, sorry, link creation is one direction only for now. So you will have to use the other direction (Links are directed and need to be created in the direction that they are configured).

For additional support, please join our community, as it does have a great deal of experience codified in the google group at <http://groups.google.com/group/agilo>. You will also find good information in the archive or by asking questions there.

@rblank: thanks for wrangling!

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from (none). Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.