cgrzemba / 389-ds-base

Forked from 389-ds-base 5 years ago
Clone

78fdd61 Ticket #47834 - Tombstone_to_glue: if parents are also converted to glue, the target entry's DN must be adjusted.

Authored and Committed by nhosoi 9 years ago
    Ticket #47834 - Tombstone_to_glue: if parents are also converted to glue, the target entry's DN must be adjusted.
    
    Description: Previous fix for the ticket #47834 broke the CI test case
    47815.
    
    The fix for 47815 removed the addingentry from the entry cache if
    SLAPI_PLUGIN_BE_TXN_POST_ADD_FN failed.  The #47834 patch accidentally
    deleted the code.
    
    Instead of adding it back, this patch moves the deletion of the entry
    from the entry cache to cover both cases SLAPI_PLUGIN_BE_TXN_POST_ADD
    _FN successes or fails.
    
    https://fedorahosted.org/389/ticket/47834
    
    Reviewed by mreynolds@redhat.com (Thank you, Mark!!)
    
    (cherry picked from commit 7db4fa90caa543b59352046138f453236c0fd652)