Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#1899 closed defect (fixed)

Calendar export can't cope with multi word priorities

Reported by: d.mills@… Owned by: Christopher Lenz
Priority: normal Milestone: 0.9
Component: roadmap Version: 0.8.4
Severity: normal Keywords: iCal calendar
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I'm currently using trac in a Frech setting, which means we get priorities like 'tres haut' and 'tres bas'. The problème is that when I try to export the road map to iCal, I get an error message with the following stack trace:

Traceback (most recent call last):
  File 'c:\Python23\Lib\site-packages\trac\core.py', line 531, in cgi_start
    real_cgi_start()
  File 'c:\Python23\Lib\site-packages\trac\core.py', line 526, in real_cgi_start
    dispatch_request(path_info, args, req, env)
  File 'c:\Python23\Lib\site-packages\trac\core.py', line 441, in dispatch_request
    module.run()
  File 'c:\Python23\Lib\site-packages\trac\Module.py', line 46, in run
    disp()
  File 'c:\Python23\Lib\site-packages\trac\Roadmap.py', line 174, in display_ics
    write_prop('PRIORITY', priority_mapping[ticket['priority']])
KeyError: 'tres haut'

Trac also stated that the erreur returned was 'tres haut'

Any help much appreciated.

Attachments (0)

Change History (1)

comment:1 by Christopher Lenz, 19 years ago

Milestone: 0.9
Resolution: fixed
Status: newclosed

Actually the problem is that the roadmap iCalendar view in 0.8.x didn't support custom priority values. This has already been fixed in trunk.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz 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.