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

operation Directory.SuggestEntries removes rows with the same "label" (9.10 backport)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 9.10
    • Fix Version/s: None
    • Component/s: Automation, Directory
    • Tags:
    • Backlog priority:
      500
    • Sprint:
      nxGang Sprint 10.2.6
    • Story Points:
      1

      Description

      Same issue as NXP-21811 but this ticket is for backporting the fix from master to 9.10:

      In the operation Directory.SuggestEntries there is used the same mergeJsonAdapter(JSONAdapter branch) method for adding new entities for all cases.
      The method uses the "children" property of type HashMap with key = "label" to temporary save results.
      As a result, it removes records with the same "label" field but different all other fields including "id" for a flat directory and puts all children to one record for the parent directory.
      But as a general rule only "id" field have to be unique.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.