Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-4795

Use a single attribute for suggestion elements

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 73.14
    • Fix Version/s: 73.17
    • Component/s: Studio Designer

      Description

      Since NXS-4655, both attributes selected-items and value are used when generating a suggestion element.
      This solution brings a problem when using a multivalued directory: as soon as several values are selected, UI will display ids instead of labels.
      There is no possible workaround other than changing the generated configuration, a single value has to be used.

      TODO

      In Designer, suggestion elements: nuxeo-directory-suggestion, nuxeo-user-suggestion and nuxeo-document-suggestion should use the following property depending on TP

      9.10 HF <= 4 9.10 HF >= 5 10.1 10.2+
      value selected-item(s) value selected-item(s)
      • For new d&d and new layouts, generate code as described above
      • For existing, when both values are used, add a validation warning:

        Code generation has changed for suggestion elements. We recommend replacing these elements using drag and drop to benefit from the latest updates and bug fixes.

      • Remove existing validation warning when people where using suggestion elements with "value" attribute in 9.10

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 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 hours
                  2h