Opened on 03/12/2014 at 08:16:07 AM

Closed on 03/18/2014 at 11:02:54 AM

#56 closed defect (fixed)

[trac] avoid overwriting dropdown defaults when provisioning

Reported by: philll Assignee: philll
Priority: P2 Milestone:
Module: Infrastructure Keywords:
Cc: trev Blocked By:
Blocking: Platform:
Ready: Confidential: no
Tester: Verified working: no
Review URL(s):

Description

Environment

Trac instance installed for ABP

How to reproduce

  1. Provision the trac instance with vagrant
  2. Log in to the trac instance at https://issues.adblockplus.org
  3. Click "New Issue"

Observed behaviour

The preset values of the fields "Priority" and "Component" are "P1" and "ABP-Android" respectively.

Expected behaviour

As set previously via Trac frontend admin, the default values should be "Unknown" for both fields.

Attachments (0)

Change History (6)

comment:1 Changed on 03/13/2014 at 06:21:09 AM by trev

This shouldn't be set in the frontend but rather in the trac.ini we deploy:

[ticket]
default_component = Unknown
default_priority = Unknown
default_resolution = fixed
default_type = defect
Last edited on 03/13/2014 at 06:22:48 AM by trev

comment:2 Changed on 03/13/2014 at 06:23:34 AM by trev

  • Cc trev added

comment:3 Changed on 03/13/2014 at 07:54:19 AM by trev

  • Priority changed from Unknown to P2

comment:4 Changed on 03/13/2014 at 08:06:35 AM by philll

Setting those defaults in the config file means we have to change it every time we rename the vaue. As the frontend admin offers this possibility as well as setting the default database-wise, I would recommend not using the config file to avoid confusion.

comment:5 Changed on 03/13/2014 at 08:08:50 AM by trev

The frontend doesn't set this in the database but rather in trac.ini - the very settings I listed.

comment:6 Changed on 03/18/2014 at 11:02:54 AM by philll

  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

Change Properties
Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from philll.
 
Note: See TracTickets for help on using tickets.