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

Martin Kosek mkosek at redhat.com
Wed Jul 13 10:05:50 UTC 2011


On Fri, 2011-07-08 at 00:40 +0300, Alexander Bokovoy wrote:
> 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).

ACK for server part too. Tests are OK.

Pushed to master.

Martin




More information about the Freeipa-devel mailing list