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

Fix nuxeo-directory-radio-group missing multivalued complex sub-property value selected at doc creation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.1.4, 3.0.30
    • Component/s: UI, Widgets
    • Release Notes Summary:
      Radio group widgets display the default value correctly when used in the context of multivalued complex subproperties.
    • Backlog priority:
      800
    • Sprint:
      UI - 2023-11, UI - 2023-12, UI COOLDOWN - 2023-11
    • Story Points:
      5

      Description

      Steps to reproduce:

      1. In Studio, create a project with a custom doctype that has a multi-valued Complex property with a Directory-type subproperty. Configure its layouts to use nuxeo-directory-radio-group instead of the default nuxeo-directory-suggestion. (attaching sample project .zip - doctype name is MultiComplex)
      2. In Web UI, create a new instance of this doctype. Create a new entry for the multivalued complex property (see screenshot 1).
      3. Following this, Edit the document. Find the multivalued complex entry set earlier and click its Edit button.
      4. Observe result (see screenshot 2)

      Expected result: radio group widgets of multi-valued complex subproperties in Edit layouts are populated with the value set for the field at document creation (in attached example, should show "Type 1" selected).

      Actual result: radio group widgets of multi-valued complex subproperties in Edit layouts are missing the value set for the field at document creation.

        Attachments

        1. elements-1683-screenshot1.PNG
          88 kB
          Henry Miskaryan
        2. elements-1683-screenshot2.PNG
          237 kB
          Henry Miskaryan

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 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 - 2 days, 6 hours
                  2d 6h