#12346 closed defect (worksforme)
Admin page can't edit ticket type with trailing period
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | ticket system | Version: | 1.0.3 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
If a ticket type has a trailing period (e.g., "Req."), it can't be edited through the Trac Admin interface. You can create the ticket type with a trailing period, or edit an existing ticket type to have one, but once it's there you can no longer modify that ticket type.
Trac displays a "Trac Error" page, which appears to be the ticket type admin page with no CSS (see attached), and an error message as "ticket_type <x> does not exist", where <x> is the ticket type without the trailing period.
The ticket type can be managed through trac-admin. The ticket_type list shows the type with its trailing period. "ticket_type change" can modify the type (e.g., to remove the trailing period).
How to Reproduce
- From the Admin tab, under "Ticket System" choose "Ticket Types"
- In "Add Ticket Type", enter a "Name" with a trailing period
- Press "Add"
- Observe that the new ticket type is added, with the trailing period
- Select the new ticket type
- Observe Trac error page, with error message that ticket type (without trailing period) "does not exist". Which it doesn't.
System Information
- OS: Windows Server Standard without Hyper-V, Service Pack 2
- Python: 2.7.3
- Backend: SQLite
- SCM: Subversion
- Trac: 1.0.3
Attachments (1)
Change History (4)
by , 9 years ago
Attachment: | trac-error-ticket-type.png added |
---|
comment:1 by , 9 years ago
I haven’t been able to reproduce with TracStandalone and Trac 1.0.3.
What is the path after step(6)? Is it /admin/ticket/type/Name.
or /admin/ticket/type/Name
?
comment:2 by , 9 years ago
Keywords: | needinfo added |
---|
What web server are you using to run Trac? e.g. apache/win32 with mod_wsgi. Or are you using tracd?
comment:3 by , 9 years ago
Keywords: | needinfo removed |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
Closing due to no feedback.
Screenshot: Trac Error page