[Freeipa-devel] [PATCH] 206-208 Fixed number parameters MIN boundary validation in Web UI

Petr Vobornik pvoborni at redhat.com
Wed Sep 5 14:08:04 UTC 2012


Integers were missing most of minimum checks and Decimals boundaries 
weren't checked at all in Web UI.

First part is done in ipalib, second in Web UI.

1) [PATCH] 206 Fixed metadata serialization of Numbers and DNs:
There were following problems:
1. DNs and Decimals weren't properly serialized. Serialization output 
was object with empty __base64__ attribute. It was fixed by converting 
them to string.
2. numberical values equal to 0 were excluded from metadata. It broke 
many of minvalue checks in Web UI. Now excluding only None and False 
values as initially intended.

2)[PATCH] 207 Added decimal checks to metadata validator:
Metadata validator didn't have check for decimal values. It was added.

3)[PATCH] 208 Generated metadata for testing updated
Testing metadata needs to be updated because of fix in json serialization.
-- 
Petr Vobornik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0206-Fixed-metadata-serialization-of-Numbers-and-DNs.patch
Type: text/x-patch
Size: 3401 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120905/3a04e8f4/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0207-Added-decimal-checks-to-metadata-validator.patch
Type: text/x-patch
Size: 3639 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120905/3a04e8f4/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0208-Generated-metadata-for-testing-updated.patch
Type: text/x-patch
Size: 100620 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120905/3a04e8f4/attachment-0002.bin>


More information about the Freeipa-devel mailing list