Edgewall Software

Ticket #6708 (closed defect: worksforme)

Opened 12 months ago

Last modified 11 months ago

Default workflow overrides inherited workflow?

Reported by: stephen.moretti@… Owned by: ecarter
Priority: normal Milestone:
Component: general Version: devel
Severity: normal Keywords:
Cc:

Description

I discovered the inherit section in the trac.ini the other day, so I thought I would change one of my trac environments to inherit the workflow that will be used in all trac environments, so that I'm not having to cut and paste in the whole workflow in for every environment if there are updates.

Having taken the ticket-workflow section out of the ini and inherited that section I get "TracError: The Trac Environment needs to be upgraded." from my trac environment. When I do this it recreates a default workflow in my trac.ini.

Should I be able to inherit a ticket-workflow section?

FYI: This is Trac 0.11dev-r6380 on Windows/Python25/Apache2.0.x

Attachments

Change History

Changed 12 months ago by osimons

Hmm. This works for me. Are you sure the path to your inhereted trac.ini is correct? Instead of moving the [ticket-workflow] try moving some other setting to make sure it picks up changes globally - like header logo link or something.

It should only call for upgrade if there are no ticket-workflow options available at all.

Changed 11 months ago by osimons

  • status changed from new to closed
  • resolution set to worksforme
  • milestone 0.11 deleted

In [6226] there was an explicit check for this included, and I run a large number of projects off a shared trac.ini including the only [ticket-workflow] section defined anywhere in my setup.

I am quite confident that the problem you noticed is due to perhaps a wrong path, typo, permissions or similar. If this is not the case, you're more than happy to reopen the ticket as this is an important issue if it does not work correctly.

Add/Change #6708 (Default workflow overrides inherited workflow?)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from ecarter. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.