Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-938

Improve idFunction handling of empty ids

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.9, 3.0.0
    • Component/s: UI
    • Release Notes Summary:
      The nuxeo-selectivity element handles empty keys.
    • Backlog priority:
      675
    • Sprint:
      nxGang Sprint 11.1.9, nxGang Sprint 11.1.11
    • Story Points:
      2

      Description

      Right now, the idFunction of nuxeo-selectivity can return an object if the item id is an empty string: https://github.com/nuxeo/nuxeo-elements/blob/master/ui/widgets/nuxeo-selectivity.js#L7276.

      If the id key is defined on the object, we should use whatever value it has.

        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 - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours, 35 minutes
                  3h 35m