Modify

Opened 5 years ago

Last modified 23 months ago

#9145 new defect

no templates with Agilo

Reported by: podskalsky Owned by: richard
Priority: high Component: TracTicketTemplatePlugin
Severity: major Keywords: agilo
Cc: Trac Release: 0.12

Description

Hello,

we are using the agilo-plugin. We can create and edit templates, but we cant see them at new tickets

Regards Andreas

Attachments (2)

tractickettemplateplugin.diff (2.1 KB) - added by David O'Callaghan <david.ocallaghan@…> 23 months ago.
agilo-templates-theme.diff (567 bytes) - added by David O'Callaghan <david.ocallaghan@…> 23 months ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 5 years ago by fredrik@…

  • Keywords agilo added

I installed the plugin in the agilo virtual appliance. I get templates, but only the default template. That is, whatever I set as the default template shows up for all ticket types. Changes to templates for the other ticket types never shows up.

comment:2 Changed 5 years ago by podskalsky

  • Severity changed from normal to major

problem still existing with agilo agilo 1.3.5-PRO and greater :-(

comment:3 Changed 5 years ago by rjollos

If you are seeing the problem with Agilo, it is most likely a jQuery UI conflict. Checking the error console for javascript errors would be a good first step.

comment:4 Changed 3 years ago by konrad.meister@…

Hello,

I am facing this issue also here in my Trac/agilo installation.

Are there any updates/solution procedures?

Environment: Trac 0.12.2 TracTicketTemplate 0.7 Agilo binary-agilo 1.3.8-PRO

Regards, Konrad

comment:5 Changed 3 years ago by root@…

Having the same kind of configuration, I noticed that tt_newticket.js isn't loaded

Changed 23 months ago by David O'Callaghan <david.ocallaghan@…>

comment:6 Changed 23 months ago by David O'Callaghan <david.ocallaghan@…>

I was also having problems using Agilo (agilo-1.3.14_PRO-py2.7.egg) and TracTicketTemplate 0.9dev.

I modified TracTicketTemplate as in the attached tractickettemplateplugin.diff.

  • Insert the tt_newticket code on all /newticket requests (as Agilo uses a non-standard template file name)
  • Avoid triggering a "change" event on the type field, as this triggers Agilo's change type code, which reloads the page, causing a loop
  • Make some code referring to custom templates conditional on "enable_custom"
  • Lowercase the type names, as TracTicketTemplate uses the "native" type names, while Agilo uses aliases (which are a title case version of the type by convention).

It was also necessary to make a change to the Agilo theme template (in agile-templates-theme.diff) as there was some conflict between Agilo's custom select on the "owner" field.

Note: in our set up we are not using custom templates, so these changes have not been tested with custom templates in mind.

Changed 23 months ago by David O'Callaghan <david.ocallaghan@…>

Add Comment

Modify Ticket

Action
as new The owner will remain richard.
Author


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

 
Note: See TracTickets for help on using tickets.