1c4774d Circular entity dependency

4 files Authored by pvoborni 12 years ago, Committed by simo 12 years ago,
    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.
    
        
file modified
+23 -0
file modified
+244 -96
file modified
+3 -3
file modified
+5 -5