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

operation Directory.SuggestEntries removes rows with the same "label"

    XMLWordPrintable

    Details

    • Release Notes Summary:
      The uniqueness is based on the id in the operation Directory.SuggestEntries.
    • Sprint:
      nxLD Sprint 10.1.2
    • Story Points:
      1

      Description

      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:
                4 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 - 1 day
                  1d

                    PagerDuty

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