Hierarchical vocabularies entry deletion deletes too many entries
-----------------------------------------------------------------

                 Key: NXP-1599
                 URL: http://jira.nuxeo.org/browse/NXP-1599
             Project: Nuxeo Enterprise Platform 5
          Issue Type: Bug
          Components: Directory
    Affects Versions: 5.1.1
            Reporter: Florent Guillaume
            Assignee: Florent Guillaume
            Priority: Major
             Fix For: 5.1.2


When a hierarchical directory has an entry with id=A and parent=P, and another 
entry with id=A and parent=Q, then deleting one entry deletes both.
This is because internally directory ids are supposed to uniquely identify the 
entry, and the case of a multi-column primary key was not considered. Only the 
id is taken into account in the SQL delete statement. (I haven't checked LDAP 
yet.)



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to