[Freeipa-devel] [PATCH] 021 Split Web UI initialization to several smaller calls

Petr Vobornik pvoborni at redhat.com
Fri Oct 7 15:55:54 UTC 2011


https://fedorahosted.org/freeipa/ticket/1933

based on ayoung-0286-split-metadata-call

Web UI init method was modified to get initialization data in 3 calls.
First call remains the same as before except that the json_metadata 
command was removed.

JSON metadata are requested after successful response of the first batch 
command. This approach should preserve functionality in IE (where 
request is missing after authentication). Getting JSON metadata is split 
to two commands - this should prevent the error in linked ticket. These 
two commands are paralelly executed by new concurent_command object.

Concurrent command waits for all responses then it calls each command's 
success handler.

I don't know if this patch actually solves the problem because I didn't 
manage to reproduce it.

Note: In the attached archive is patch for updating data files (offline, 
unit testing). Unpacked it has 1.4MiB...
-- 
Petr Vobornik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0021-Split-Web-UI-initialization-to-several-smaller-calls.patch
Type: text/x-patch
Size: 7668 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20111007/75ee2deb/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0021-1-Split-Web-UI-initialization-to-several-smaller-calls.patch.zip
Type: application/zip
Size: 59540 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20111007/75ee2deb/attachment.zip>


More information about the Freeipa-devel mailing list