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

Fix nuxeo-path-suggestion displaying as invalid on initial input

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.39, 3.0.2
    • Fix Version/s: 2.4.42, 3.1.0, 3.0.3
    • Component/s: Layouts, UI, Widgets
    • Release Notes Summary:
      The element nuxeo-path-suggestion correctly validates its input.
    • Backlog priority:
      600

      Description

      Steps to reproduce:

      1. In Studio > Modeler > Page Providers, create a Page Provider with a predicate on ecm:path using STARTSWITH
      2. In Studio > Designer > Layouts > Page Providers, configure its search-form.html to use a <nuxeo-path-suggestion> element for ecm:path. Configure a default search-results.html form.
      3. Configure a Tab and Drawer to use the configured search-form.html.
      4. After Studio project load in a local instance, navigate to the respective Drawer Item and Tab in Web UI.
      5. When inputting a valid path in the <nuxeo-path-suggestion> elements, a red underline is shown by default, indicating invalid input. The red underline disappears following page refresh and validation functionality is normal.
        (Expected: no red underline on initial valid path construction).

      Attaching a screenshot of a Drawer Item and Tab configured in my local instance that demonstrates the behavior.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 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 - 4 hours, 35 minutes
                  4h 35m