Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-1599

Hierarchical vocabularies entry edition/deletion deletes too many entries

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.1
    • Fix Version/s: 5.1.2
    • Component/s: Directory

      Description

      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.)

        Attachments

          Activity

            People

            • Assignee:
              fguillaume Florent Guillaume
              Reporter:
              fguillaume Florent Guillaume
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 hours
                2h
                Remaining:
                Remaining Estimate - 2 hours
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified