Modify

Opened 4 years ago

Last modified 4 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: rjollos Owned by: richard
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 4 years ago by rjollos

  • Summary changed from When switching back to ticket t to An empty template is not applied when switching back from a ticket type that has a custom template defined

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.