Validate params of config_get()

Bug #1152331 reported by Federico Razzoli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
STK-Unit
Fix Released
Wishlist
Unassigned

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.

Tags: api errors notest
tags: added: api
Revision history for this message
Federico Razzoli (santec) wrote :

Fixed: rev 32

Changed in stk-unit:
status: Triaged → Fix Committed
tags: added: notest
Changed in stk-unit:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.