Actions
Bug #499
closedsetting value to host-os-policy.bsd-right fails
Affected Versions:
Effort:
Difficulty:
Label:
Description
[10019] 9/7/2012 -- 12:27:11 - (util-host-os-info.c:141) <Error> (SCHInfoAllocUserDataOSPolicy) -- [ERRCODE: SC_ERR_INVALID_ENUM_MAP(15)] - Invalid enum map inside SCHInfoAddHostOSInfo() [10019] 9/7/2012 -- 12:27:11 - (util-host-os-info.c:229) <Error> (SCHInfoAddHostOSInfo) -- [ERRCODE: SC_ERR_INVALID_ENUM_MAP(15)] - Invalid enum map inside [10019] 9/7/2012 -- 12:27:11 - (util-host-os-info.c:423) <Error> (SCHInfoLoadFromConfig) -- [ERRCODE: SC_ERR_INVALID_ARGUMENT(13)] - Failed to add host "1.2.3.4" with policy "bsd-right" to host info database
Possibly related to replacing underscores with dashes.
Please review all OS' and add unittests.
Files
Updated by Anoop Saldanha over 12 years ago
Should we provided backward compatibility with _?
Updated by Victor Julien over 12 years ago
Yes, but I think it's done already on the conf API level. It should convert var names with _ to -. Please test to be sure.
Updated by Anoop Saldanha over 12 years ago
- File 0001-bug-499-update-host-os-info-enum-map-to-use-instead-.patch 0001-bug-499-update-host-os-info-enum-map-to-use-instead-.patch added
patch attached.
Updated by Victor Julien over 12 years ago
- Status changed from Assigned to Closed
- Target version changed from 1.4beta1 to 1.3.1
Applied, thanks.
Actions