391539a Ticket 47964 - v2 - Incorrect search result after replacing an empty attribute

Authored and Committed by lkrispen 6 years ago
    Ticket 47964 - v2 - Incorrect search result after replacing an empty attribute
    
    Bug Description:  when a replace operation for a nonexisting attribute is
                      done without providing new values the entry is stored
                      with incorrect meta data: an empty deleted value without
                      attribute deletion csn.
    
    Fix Description:   in the delete phase of the replace operation already create
                       the attribute to set the deletion csn. It would be created anyway
                       in the add part of the replace operation.
                       The function to calculate the required size to write the entry
                       needs also to be adjusted.
    
    https://fedorahosted.org/389/ticket/47964
    
    Reviewed by: Rich, thanks
    
        
file modified
+2 -0