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

Move '%' appended in nuxeo-select2.js to the page provider definition

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0-HF19, 7.3
    • Fix Version/s: 6.0-HF20, 7.4
    • Component/s: Layouts & Widgets
    • Upgrade notes:
      Hide

      Document Suggestion Widgets relying on a custom page provider must be adapted. The client javascript won't append a '%' character at the end of the searched term anymore. The '%' needs to be added to the page provider query pattern (like in NXP-17881 and NXP-18054).

      Show
      Document Suggestion Widgets relying on a custom page provider must be adapted. The client javascript won't append a '%' character at the end of the searched term anymore. The '%' needs to be added to the page provider query pattern (like in NXP-17881 and NXP-18054 ).
    • Sprint:
      nxNag Sprint 7.4.4

      Description

      nuxeo-select2.js when using a pageProvider name or a NXQL query will append a '%' to the searchTerm (typed term).

      It prevents the selector to use a page provider using elasticsearch.

      But the '%' character should be carrried by the pageprovider pattern or the query itself to allow to switch the pageProvider to elasticsearch. Indeed, the '%' needs to be converted to a proper wildcard for elasticsearch and if it is not in the pageProvider pattern, it won't be properly converted.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

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