Project

General

Profile

Todo #5902

Use a common place for default values

Added by Phillip Davis over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
02/17/2016
Due date:
% Done:

0%


Description

Currently the default value of many settings is used in the backend code that implements something, and is also in the text of the help message, and might be in other "front-end" validation code that runs when the settings are saved. Having a default setting (e.g. number) used literally in 3 different places leads to it getting out-of-sync when the default is changed.
Put all default values (and other "constants") into include files. Use the values from the include files everywhere. That way the system stays consistent when default values are changed.

History

#1 Updated by Steve Beaver over 1 year ago

  • Target version set to Future
  • Affected Architecture set to All

Also available in: Atom PDF