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

Page provider display behavior fails to find provider by id

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.2.0
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Core

      Description

      When a page provider display element (ie table, list, ..) is inside a template (ie dom-if) it'll have the template instance as data host thus is fails to find the provider by id.

      in _nxProviderChanged we are currently looking up the dataHost with

      { this.nxProvider = this.__dataHost ? this.__dataHost.$[nxProvider}
      

      but when the data host is a template instance we should rely on

      {this.__dataHost._methodHost}
      

        Attachments

          Activity

            People

            • Assignee:
              nsilva Nelson Silva
              Reporter:
              nsilva Nelson Silva
              Participants:
            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: