diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2011-10-10 13:34:15 +0200 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2011-10-18 16:19:06 -0200 |
commit | 27ea90792fb06e7e62f81c352936232ee10894ff (patch) | |
tree | 0418f94667ba4fd675cea680b3e72d744ed9c27e /install/html/browserconfig.html | |
parent | 1e5391422143c17a94008a0703099c5f877e46fd (diff) | |
download | freeipa-27ea90792fb06e7e62f81c352936232ee10894ff.tar.gz freeipa-27ea90792fb06e7e62f81c352936232ee10894ff.tar.xz freeipa-27ea90792fb06e7e62f81c352936232ee10894ff.zip |
Circular entity dependency
https://fedorahosted.org/freeipa/ticket/1531
Each entity is created together with its dependent objects (e.g. facets and dialog boxes). This causes a circular dependency problem because some of the objects need to obtain a reference to another entity that has not been created.
Currently this is handled by storing only the other entity name and resolve it when needed (e.g. during rendering stage). In IPA.search_facet this delays the creation of the table widget, making it more difficult to customize.
One solution is to do the object creation in 2 steps:
* create all entity objects only
* create the dependent objects in each entity
Implemented solution:
* all entities are created on application start
* dependant objects (facets and dialogs) are created at once on their first use in entity.
Diffstat (limited to 'install/html/browserconfig.html')
0 files changed, 0 insertions, 0 deletions