Modify ↓
Opened 8 years ago
Last modified 13 months 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 , 8 years ago
Attachment: | Screen Shot 2017-04-02 at 01.31.36.png added |
---|
comment:1 by , 8 years ago
Version: | → 1.2.1 |
---|
by , 8 years ago
Attachment: | Screen Shot 2017-04-05 at 13.11.57.png added |
---|
by , 8 years ago
Attachment: | Screen Shot 2017-04-05 at 13.12.18.png added |
---|
by , 8 years ago
Attachment: | Screen Shot 2017-04-05 at 13.12.29.png added |
---|
comment:4 by , 4 years ago
Milestone: | next-stable-1.2.x → next-stable-1.4.x |
---|
comment:5 by , 4 years ago
Also, the BoolOption
s 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 BoolOption
s.
Note:
See TracTickets
for help on using tickets.
I overlooked the obvious -
BrowserModule
,LogModule
andChangesetModule
are disabled for this Trac instance. I wonder if we could render those values in a "missing" style. The criteria might be: there's noConfigSection
defined and theOption
is not defined.There is a related issue though. In this Trac instance
ChangesetModule
andLoginModule
are 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_bytes
max_diff_files
wiki_format_messages
[trac]
check_auth_ip
ignore_auth_case
[timeline]
changeset_collapse_events
changeset_long_messages
[trac]
auth_cookie_domain
andauth_cookie_path
are not shown as modified because their default value is empty.