Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#9228 closed enhancement (cantfix)

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@… Branch:
Release Notes:
API Changes:
Internal 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 (0)

Change History (2)

comment:1 by Remy Blank, 14 years ago

Cc: support@… added
Resolution: cantfix
Status: newclosed

comment:2 by Martin Häcker <martin.haecker@…>, 14 years ago

@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!

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.