Project

General

Profile

Actions

Todo #5902

open

Use a common place for default values

Added by Phillip Davis over 8 years ago. Updated about 5 years ago.

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

0%

Estimated time:
Plus Target Version:
Release Notes:

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.

Actions #1

Updated by Anonymous over 8 years ago

  • Target version set to Future
  • Affected Architecture All added
  • Affected Architecture deleted ()
Actions #2

Updated by Jim Pingle about 5 years ago

  • Category set to Configuration Backend
Actions

Also available in: Atom PDF