Edgewall Software
Modify

Opened 9 years ago

#11989 new defect

Improve handling of option specified in multiple global (shared) configuration files

Reported by: Ryan J Ollos Owned by:
Priority: normal Milestone: undecided
Component: general Version:
Severity: normal Keywords: configuration trac.ini inherit
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

If an option is specified in multiple configuration files, the value from the leftmost file in the [inherit] file list will be used: trunk/trac/config.py@13892:212-213,215#L202.

This could lead to confusion if the user expects another value to be picked-up, not realizing the value in another file is taking precedence. Should we log at DEBUG or INFO level if the value is discovered in more than a single file? Or should the behavior just be documented in TracIni#GlobalConfiguration?

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.