Edgewall Software
Modify

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#12346 closed defect (worksforme)

Admin page can't edit ticket type with trailing period

Reported by: thom.brooke@… 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

  1. From the Admin tab, under "Ticket System" choose "Ticket Types"
  2. In "Add Ticket Type", enter a "Name" with a trailing period
  3. Press "Add"
  4. Observe that the new ticket type is added, with the trailing period
  5. Select the new ticket type
  6. 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)

trac-error-ticket-type.png (42.3 KB ) - added by thom.brooke@… 8 years ago.
Screenshot: Trac Error page

Download all attachments as: .zip

Change History (4)

by thom.brooke@…, 8 years ago

Attachment: trac-error-ticket-type.png added

Screenshot: Trac Error page

comment:1 by Ryan J Ollos, 8 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 Jun Omae, 8 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 Ryan J Ollos, 8 years ago

Keywords: needinfo removed
Resolution: worksforme
Status: newclosed

Closing due to no feedback.

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.