[Freeipa-devel] [PATCH] 0001 (2) Convert nsaccountlock to always work as bool towards Python and JavaScript

Alexander Bokovoy abokovoy at redhat.com
Thu Jul 7 21:40:51 UTC 2011


On 08.07.2011 00:29, Adam Young wrote:
> On 07/07/2011 04:47 PM, Alexander Bokovoy wrote:
>> Hi,
>>
>> this is refactoring of the patch for ticket 1259 (handling of boolean
>> for nsaccountlock in LDAP).
>>
>> Now it is possible to just work with True/False on Python side and
>> JavaScript side also gets true/false via JSON marshalling. At the same
>> time, TRUE/FALSE is provided towards LDAP storage and correctly
>> handled when returned back.
>>
>> Tested with command line tools, WebUI, and make-test.
> ACK.
Updated to include all python tests.

JavaScript-based tests are left in old format ("nsaccountlock": [ 
"False";], for example) to allow testing all accepted variations of the 
boolean values in JSON (boolean type, strings, strings in array).
-- 
/ Alexander Bokovoy
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: freeipa-abbra-0001-2-Convert-nsaccountlock-to-always-work-as-bool-towards.patch
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110708/f776f558/attachment.ksh>


More information about the Freeipa-devel mailing list