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

View designer generates incorrect _navigate function in pp result layouts

    XMLWordPrintable

    Details

      Description

      The _navigate function added to pageprovider result layouts is incorrect

      Step to reproduce in studio:

      • create a pageprovider with a fulltext predicate
      • in designer, generate the result layout

      VD generates the following _navigate function:

       _navigate: function(e) {
            this.fire('navigate', {doc: (e.model || e.detail).item});
          }
      

      but should be

       _navigate: function(e) {
            this.fire('navigate', { doc: (e.model || e.detail).item, index: (e.model || e.detail).index });
          }
      

      This results in the drawer list not going automatically to the selected item

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 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 - 1 hour
                  1h

                    PagerDuty

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