Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-5640

js error refreshing capabilities list while a row is selected

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.4
    • Fix Version/s: None
    • Component/s: Capabilities
    • Labels:
      None

      Description

      Using Nexus Professional 2.4.0-06, but filing here since capabilities is in OSS.

      Using Google Chrome and Nexus ?debug

      Unfortunately no reproduce steps atm only a best guess:

      Select a capability in the capabilities list, then perform some action in Nexus that adds a new capability outside of capability screen, then click refresh. same row attempts to be selected and since there is a new member in the list, this triggers error? Maybe someone can tell from the stack trace.

      The following error has occurred:
      Message: (TypeError) Cannot read property 'data' of undefined
      Error number: 0
      Description: undefined
      Stacktrace: 
      TypeError: Cannot read property 'data' of undefined
          at Ext.extend.rowSelect (http://192.168.2.98:8081/static/js/nexus-capabilities-plugin-all.js?v=2.3.1&nexusVersion=2.4.0-06:2:19572)
          at listener.fireFn (http://192.168.2.98:8081/js/ext/util/event.js?nexusVersion=2.4.0-06:23:25)
          at EXTUTIL.Event.fire (http://192.168.2.98:8081/ext-3.4.1/ext-all-debug.js:326:34)
          at EXTUTIL.Observable.fireEvent (http://192.168.2.98:8081/ext-3.4.1/ext-all-debug.js:70:31)
          at Ext.grid.RowSelectionModel.Ext.extend.selectRow (http://192.168.2.98:8081/ext-3.4.1/ext-all-debug.js:50560:22)
          at Ext.grid.RowSelectionModel.Ext.extend.selectRecords (http://192.168.2.98:8081/ext-3.4.1/ext-all-debug.js:50362:18)
          at capabilitiesDataStore.on.single (http://192.168.2.98:8081/static/js/nexus-capabilities-plugin-all.js?v=2.3.1&nexusVersion=2.4.0-06:2:9925)
          at null.<anonymous> (http://192.168.2.98:8081/ext-3.4.1/ext-all-debug.js:206:15)
          at call (http://192.168.2.98:8081/ext-3.4.1/ext-all-debug.js:1563:13) 
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            plynch Peter Lynch
            Last Updated By:
            Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                tigCommentSecurity.panel-title