Edgewall Software
Modify

Opened 7 years ago

Last modified 7 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)

Screen Shot 2017-04-02 at 01.31.36.png (38.4 KB ) - added by Ryan J Ollos 7 years ago.
Screen Shot 2017-04-05 at 13.11.57.png (13.0 KB ) - added by Ryan J Ollos 7 years ago.
Screen Shot 2017-04-05 at 13.12.18.png (29.3 KB ) - added by Ryan J Ollos 7 years ago.
Screen Shot 2017-04-05 at 13.12.29.png (10.9 KB ) - added by Ryan J Ollos 7 years ago.

Download all attachments as: .zip

Change History (10)

by Ryan J Ollos, 7 years ago

comment:1 by Ryan J Ollos, 7 years ago

Version: 1.2.1

by Ryan J Ollos, 7 years ago

by Ryan J Ollos, 7 years ago

by Ryan J Ollos, 7 years ago

comment:2 by Ryan J Ollos, 7 years ago

I overlooked the obvious - BrowserModule, LogModule and ChangesetModule are disabled for this Trac instance. I wonder if we could render those values in a "missing" style. The criteria might be: there's no ConfigSection defined and the Option is not defined.

There is a related issue though. In this Trac instance ChangesetModule and LoginModule 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 and auth_cookie_path are not shown as modified because their default value is empty.

Last edited 7 years ago by Ryan J Ollos (previous) (diff)

comment:3 by Ryan J Ollos, 7 years ago

Possibly related to #12457.

comment:4 by Ryan J Ollos, 4 years ago

Milestone: next-stable-1.2.xnext-stable-1.4.x

comment:5 by Ryan J Ollos, 4 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.

comment:6 by Ryan J Ollos, 7 months ago

Milestone: next-stable-1.4.xnext-stable-1.6.x

Milestone renamed

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.