Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
Configuration::SetBool internally converts true/false to 1/0 using boost::lexical_cast<std::string>(value), this results in runtime exception with 'Unexpected value found while conversion to bool.' in Configuration::GetBool since it only recognizes "true" or "false" as string representation of true or false. 1/0 should be considered in the check in GetBool.