Uploaded image for project: 'GeoDashboard'
  1. GeoDashboard
  2. GEOD-861

reloading #search sourcesView fails to render

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • None
    • GLGVO-April 2017-Sprint 1, GLGVO - April 2017 -Sprint 2, GLGVO - July Sprint 1, GLGVO - July Sprint 2

      When reloading http://gltg-dev.ncsa.illinois.edu/#search

      app.js:9093 Uncaught TypeError: Cannot read property 'render' of undefined
      at renderSources (http://gltg-dev.ncsa.illinois.edu/geodashboard/assets/javascripts/app.js:9093:29)
      at render (http://gltg-dev.ncsa.illinois.edu/geodashboard/assets/javascripts/app.js:8970:14)
      at render (http://gltg-dev.ncsa.illinois.edu/geodashboard/assets/javascripts/app.js:5177:47)
      at r.<anonymous> (http://gltg-dev.ncsa.illinois.edu/geodashboard/assets/javascripts/app.js:5109:22)
      at c (http://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.1.0/backbone-min.js:1:2006)
      at r.trigger (http://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.1.0/backbone-min.js:1:1335)
      at Object.callback (http://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.1.0/backbone-min.js:1:14975)
      at http://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.1.0/backbone-min.js:1:18183
      at Array.some (native)
      at Function.j.some.j.any (http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.5.2/underscore-min.js:5:2172)

      There is a problem rendering sources view in app.js:
      renderSources : function() {
      if (!app.view.sourcesView) {
      if (app.collection.sources.getSourcesWithSensors().length > 0) {
      app.view.sourcesView = new app.view.SourcesCollectionView(

      {collection: app.collection.sources.getSourcesWithSensors()}

      );
      }
      }
      app.view.sourcesView.render();
      },

              mpitcel2 Michelle Pitcel
              marcus Marcus Slavenas
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Time Spent - 1 hour Remaining Estimate - 3 hours
                  3h
                  Logged:
                  Time Spent - 1 hour Remaining Estimate - 3 hours
                  1h