On 10/07/2011 11:55 AM, Petr Vobornik wrote:
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...


_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel
ACK.  I pushed both patches to ipa-2.1.
The patch naming was off: don't use -1 to indicate a related patch, but rather a newer version of an already submitted patch.




_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to