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

Do not set value in nuxeo-selectivity if value is undefined

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.1, 2.3.1
    • Component/s: Widgets

      Description

      Selectivity is already validating if the value is null (https://github.com/nuxeo/nuxeo-ui-elements/blob/master/widgets/selectivity/selectivity.js#L3164) but sometimes there are cases where the value is undefined and an error is thrown.

      We should handle this case in our element, to make sure we don't try to set an undefined value.

        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 - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 minutes
                  5m