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

Fix selectivity nuxeo-document-suggestion at initialization

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.3
    • Fix Version/s: 2.2.0
    • Component/s: UI

      Description

      Since polymer2 upgrade and the use of selectivity, we can see that the initialization of the nuxeo-document-suggestion fails with:

      nuxeo-document-suggestion.html:247 Uncaught TypeError: this.urlFor is not a function
          at HTMLElement._selectionFormatter (nuxeo-document-suggestion.html:247)
          at HTMLElement.<anonymous> (nuxeo-selectivity.html:595)
          at MultipleInput.template (selectivity.js:5657)
          at MultipleInput._renderSelectedItem (selectivity.js:3318)
          at Array.forEach (<anonymous>)
          at MultipleInput.rerenderSelection (selectivity.js:3085)
          at HTMLElement._valueChanged (nuxeo-selectivity.html:712)
          at HTMLElement.attached (nuxeo-selectivity.html:638)
          at HTMLElement.attached (class.html:225)
          at HTMLElement.connectedCallback (legacy-element-mixin.html:100)
      

        Attachments

          Issue Links

            Activity

              People

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