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

Fix nuxeo-directory-radio-group widget missing value selected at document creation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.9
    • Component/s: UI
    • Release Notes Summary:
      The nuxeo-directory-radio-group widget shows selected values at document creation
    • Backlog priority:
      650
    • Team:
      UI
    • Sprint:
      UI - 2021-13, UI Cooldown - 2021-13

      Description

      Steps to reproduce:

      1. In Studio, create a project with a custom doctype that has a Vocabulary-mapped schema property. Configure its layouts to use nuxeo-directory-radio-group for any UI regarding this field. (attaching sample project .jar)
      2. In Web UI, create a new instance of this doctype. Set the radio button field with a value (see screenshot 1)
      3. After creation, observe the View tab of the document and note the Metadata layout on the right (screenshot 2).
      4. Following this, click the 'Edit document' button from the Document Actions and observe the Edit layout in the opened dialog (screenshot 3).

      Expected result: radio group widgets in Metadata and Edit layouts are populated with the value set for the field at document creation (in attached example, should show "Ultra Rare" selected).

      Actual result: radio group widgets in Metadata and Edit layouts are missing the value set for the field at document creation - the user cannot tell what value it was given without opening a JSON export of the document and viewing the schema property directly.

        Attachments

        1. hmiskaryan-SANDBOX-supnxp-37338-SNAPSHOT.jar
          180 kB
        2. webui-582-1.PNG
          webui-582-1.PNG
          203 kB
        3. webui-582-2.PNG
          webui-582-2.PNG
          162 kB
        4. webui-582-3.PNG
          webui-582-3.PNG
          181 kB

          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, 5 minutes
                  2d 6h 5m