Modify ↓
#1899 closed defect (fixed)
Calendar export can't cope with multi word priorities
| Reported by: | 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 , 20 years ago
| Milestone: | → 0.9 |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



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.