Modify ↓
      
Opened 11 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)
  Note:
 See   TracTickets
 for help on using tickets.
    

