Modify

Opened 7 years ago

Last modified 7 years ago

#6532 new defect

An empty template is not applied when switching back from a ticket type that has a custom template defined

Reported by: Ryan J Ollos Owned by: Richard Liao
Priority: normal Component: TracTicketTemplatePlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Hello,

I tested this plugin under Trac 0.12dev-r9098 and it seems to work well, so I added the 0.12 tag to the wiki page.

One issue I noticed is the proper template is not applied under the following conditions:

  1. Clear the template for type = defect.
  2. Add a custom template for type = task.
  3. Open the newticket page and select type = task. The custom template is applied.
  4. Switch to type = defect. The user is not prompted with a dialog Apply template by ticket type?, but the template is not changed either. In this case, the template should be removed because an empty template is used for type = defect, however the custom template for type = task is left in the description field.

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by Ryan J Ollos

Summary: When switching back to ticket tAn empty template is not applied when switching back from a ticket type that has a custom template defined

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Richard Liao.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.