Edgewall Software

Opened 16 years ago

Last modified 9 years ago

#6551 closed defect

IntOption and BoolOption values saved even when not differing from default — at Initial Version

Reported by: hyuga <hyugaricdeau@…> Owned by: Jonas Borgström
Priority: normal Milestone: 1.1.5
Component: general Version: 0.11b1
Severity: normal Keywords: config
Cc: osimons Branch:
Release Notes:
API Changes:
Internal Changes:

Description

The Configuration.save method fails at checking whether IntOptions and BoolOptions differ from their default values. So when calling Configuration.save, if a value has been set on an IntOption or BoolOption, that value is saved to the file even if it is the same as the default for that option, which is not the desired behavior I don't think.

Change History (0)

Note: See TracTickets for help on using tickets.