Modify ↓
Opened 9 years ago
Last modified 2 years ago
#12755 new defect
Some options on about page incorrectly showing as modified
| Reported by: | Ryan J Ollos | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | next-stable-1.6.x |
| Component: | general | Version: | 1.2.1 |
| Severity: | normal | Keywords: | about |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
On one site that I manage some options are incorrectly showing as highlighted, running Trac 1.2.1:
The values in trac.ini are:
[browser] color_scale = enabled downloadable_paths = /trunk,/branches/*,/tags/* hide_properties = svk:merge intermediate_color = intermediate_point = newest_color = (255, 136, 136) oldest_color = (136, 136, 255) oneliner_properties = trac:summary render_unsafe_content = disabled wiki_properties = trac:description
None of the values in the [browser] section should be displaying as modified, but I have no idea what the problem might be.
Attachments (4)
Change History (10)
by , 9 years ago
| Attachment: | Screen Shot 2017-04-02 at 01.31.36.png added |
|---|
comment:1 by , 9 years ago
| Version: | → 1.2.1 |
|---|
by , 9 years ago
| Attachment: | Screen Shot 2017-04-05 at 13.11.57.png added |
|---|
by , 9 years ago
| Attachment: | Screen Shot 2017-04-05 at 13.12.18.png added |
|---|
by , 9 years ago
| Attachment: | Screen Shot 2017-04-05 at 13.12.29.png added |
|---|
comment:4 by , 5 years ago
| Milestone: | next-stable-1.2.x → next-stable-1.4.x |
|---|
comment:5 by , 5 years ago
Also, the BoolOptions are not shown on the About Trac page if they are missing from trac.ini. This has been observed for [trac] check_auth_ip and ignore_auth_case, but I assume it's the case for all BoolOptions.
Note:
See TracTickets
for help on using tickets.




I overlooked the obvious -
BrowserModule,LogModuleandChangesetModuleare disabled for this Trac instance. I wonder if we could render those values in a "missing" style. The criteria might be: there's noConfigSectiondefined and theOptionis not defined.There is a related issue though. In this Trac instance
ChangesetModuleandLoginModuleare subclassed and the base implementation is disabled. Almost all of the options of the subclassed modules are shown as modified even though they have the default values in trac.ini:[changeset]max_diff_bytesmax_diff_fileswiki_format_messages[trac]check_auth_ipignore_auth_case[timeline]changeset_collapse_eventschangeset_long_messages[trac]auth_cookie_domainandauth_cookie_pathare not shown as modified because their default value is empty.