Thursday, July 10, 2014

[389-commits] Branch '389-ds-base-1.2.11' - ldap/servers

ldap/servers/slapd/entrywsi.c | 2 ++
1 file changed, 2 insertions(+)

New commits:
commit 1dbf87ae7e9203ffe5968994701bfc8b71605c8f
Author: Rich Megginson <rmeggins@redhat.com>
Date: Thu Jul 10 14:18:06 2014 -0600

Ticket #47692 single valued attribute replicated ADD does not work

https://fedorahosted.org/389/ticket/47692
Reviewed by: nhosoi (Thanks!)
Branch: 389-ds-base-1.2.11
Fix Description: Previous fix was incomplete - needed to move the
deleted attribute to the present attribute list.
Platforms tested: RHEL6 x86_64
Flag Day: no
Doc impact: no

(cherry picked from commit 4b54366593e50d71239588343f532eab39ef56e0)
(cherry picked from commit 60d8bf9f77c298197e4c8ecee585f8a2e6c0457c)
(cherry picked from commit 45dcda2425a865bf529ad0c8423664091392b865)
(cherry picked from commit aead2be2a9cc5392713c7849c18a9bf218beb533)

diff --git a/ldap/servers/slapd/entrywsi.c b/ldap/servers/slapd/entrywsi.c
index 8cee986..919ff91 100644
--- a/ldap/servers/slapd/entrywsi.c
+++ b/ldap/servers/slapd/entrywsi.c
@@ -1184,6 +1184,8 @@ resolve_attribute_state_single_valued(Slapi_Entry *e, Slapi_Attr *a, int attribu
*/
/* just remove the deleted value */
entry_deleted_value_to_zapped_value(a,pending_value);
+ /* move the attribute to the present attributes list */
+ entry_deleted_attribute_to_present_attribute(e,a);
pending_value = NULL;
attr_set_deletion_csn(a,NULL);
return; /* we are done - we are keeping the present value */


--
389 commits mailing list
389-commits@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-commits

No comments:

Post a Comment