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

Fix 'single directory radio' widget with 'onchange' custom property when used in list or complex field

    XMLWordPrintable

    Details

    • Release Notes Summary:
      The "onchange" property is correctly handled by the "single directory radio" widget in complex lists and complex fields.
    • Tags:
    • Backlog priority:
      500
    • Sprint:
      nxfit 11.1.5, nxfit 11.1.6
    • Story Points:
      2

      Description

      How to reproduce in the JSF UI:

      • in Studio create a new document type
      • add a complex field
      • in the complex field, add a Directory field linked to *directory nature
      • define the create layout and use a single directory radio widget for the Directory field
      • add a custom property to the single directory radio widget named onchange and value alert(this.value);
      • deploy to a Nuxeo instance

      The alert that is supposed to happen when a selection is done on the single directory radio widget does not happen.
      The same problem occurs in a multivalued complex field.

      The problem does NOT occur, and the alert is rendered, when a single directory radio widget is used for a field not in a complex field or a multivalued complex field (at the top-level of the schema i.e. for field field1 in screenshot below).

        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, 4 hours
                  1d 4h

                    PagerDuty

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