The permissions on this repository are being updated. This may take a while.
During this time, you or some of the project's contributors may not be able
to push to this repository.
2d5faeaTicket 47964 - 1.2.11 - Incorrect search result after replacing an empty attribute
Ticket 47964 - 1.2.11 - 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
Note for 389-ds-base-1.2.11: applying the patch just to entry2str_internal_size_attrlist (entry.c).
(cherry picked from commit 3182d2e8524c319393ab37ffcf6a8aefb9b92b54)
(cherry picked from commit d1cf785b82235c2468002274f020efc1d8f3fcc3)
(cherry picked from commit 5fc975a783e50339890789a75e2cc1a33594aae0)