← Back to team overview

stk-unit-team team mailing list archive

[Bug 1152331] Re: Validate params of config_get()

 

** Changed in: stk-unit
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of STK-Unit
Team, which is subscribed to STK-Unit.
https://bugs.launchpad.net/bugs/1152331

Title:
  Validate params of config_get()

Status in STK/Unit:
  Fix Released

Bug description:
  If we put invalid values for config options, unexpected behavior can
  happen. So we need to tell the user a clear error message whenever he
  tries to assign an invalid value.

  * dbug, show_err are booleans; valid values: 1, 0, on, off, yes, no (case insensitive)
  * out_format: text, html

  Valid booleans must be converted to 0 or 1, so we dont need to modify
  other procedures.

To manage notifications about this bug go to:
https://bugs.launchpad.net/stk-unit/+bug/1152331/+subscriptions