Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#10142 closed defect (cantfix)

KeyError: u'Epic-story'

Reported by: admin Owned by:
Priority: normal Milestone:
Component: general Version: 0.12.2
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'a3a292ad27be7d0a1feecdd1',
 'cat_id': u'agilo',
 'panel_id': u'links',
 'path_info': None,
 'remove': u'Remove selected links',
 'sel': u'Epic-story'}

User agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; Zune 4.7; AskTbFXTV5/5.9.1.14019)

System Information

Trac 0.12.2
Agilo 1.3.3-pro
Genshi 0.6
pysqlite 2.3.2
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
Subversion 1.5.6 (r36142)
jQuery 1.4.2

Enabled Plugins

binary-agilo 1.3.3-pro
tracaccountmanager 0.2.1dev-r5836

Python Traceback

Traceback (most recent call last):
  File "c:\docume~1\admini~1\locals~1\temp\easy_install-8irbu9\Trac-0.12.2-py2.5-win32.egg.tmp\trac\web\main.py", line 511, in _dispatch_request
    dispatcher.dispatch(req)
  File "c:\docume~1\admini~1\locals~1\temp\easy_install-8irbu9\Trac-0.12.2-py2.5-win32.egg.tmp\trac\web\main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "c:\docume~1\admini~1\locals~1\temp\easy_install-8irbu9\Trac-0.12.2-py2.5-win32.egg.tmp\trac\admin\web_ui.py", line 116, in process_request
    path_info)
  File "C:\Programme\Agilo\lib\site-packages\binary_agilo-1.3.3_pro-py2.5.egg\agilo\api\admin.py", line 55, in render_admin_panel
    return self.list_save_view(req, cat, page)
  File "C:\Programme\Agilo\lib\site-packages\binary_agilo-1.3.3_pro-py2.5.egg\agilo\ticket\links\admin.py", line 121, in list_save_view
    del self.allowed_links[s]
KeyError: u'Epic-story'

Attachments (0)

Change History (2)

comment:1 by Remy Blank, 13 years ago

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

comment:2 by robert.buchholz@…, 13 years ago

@rblank, thanks for the CC, as usual.

I was able to reproduce the error, it is caused by the fact that Agilo does not like uppercase ticket types so much. All the default ticket types are lowercase, but the Trac admin does not forbid using non-ascii or uppercase values for ticket type. That said, we obviously consider this a bug in Agilo not warning the user about the assumptions it is making and failing late in the process. We're tracking this at https://dev.agile42.com/ticket/509

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.