You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2013/11/12 19:04:17 UTC

[jira] [Created] (MAVIBOT-12) Deleting a value from a ValueHolder with N values modifies version N-1

Emmanuel Lecharny created MAVIBOT-12:
----------------------------------------

             Summary: Deleting a value from a ValueHolder with N values modifies version N-1
                 Key: MAVIBOT-12
                 URL: https://issues.apache.org/jira/browse/MAVIBOT-12
             Project: Mavibot
          Issue Type: Bug
    Affects Versions: 1.0.0-M2
            Reporter: Emmanuel Lecharny
            Assignee: Emmanuel Lecharny
            Priority: Critical
             Fix For: 1.0.0-M2


If a ValueHolder contains more than 1 value, and if we delete one of these values, the ValueHolder is directly modified instead of being copied, which breaks the revision we are just modifying.

We need to clone the ValueHolder in this case.



--
This message was sent by Atlassian JIRA
(v6.1#6144)