Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-6131

Services page intermittently loaded with empty content

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.1
    • 1.6.1
    • ambari-web
    • None

    Description

      Cause of the Bug:
      With some unknown prior actions on the cluster on host page load, code returns one of it's elements as plain ember object with no property set (not even iColumn key). This breaks the code ahead. Over here in one of the iteration we are trying to find an element in childviews array whose column value is undefined. There are many such elements in childviews array. So it picks up the first element App.HostTableMenuView and schedules to call showClearFilter function later because of Ember.run.next loop. When the run queue is dequeued to execute this callback methods, the very first callback method "showClearFilter function for App.HostTableMenuView class" fails with Js error and other pending callback methods are not executed nor flushed by Ember.

      When the next time ember.run.next is executed in the code (normally this happens by routing to other page), stale callbacks with no data binding is invoked and again leads to JS error at code.

      Attachments

        1. AMBARI-6131.patch
          2 kB
          Jaimin Jetly

        Activity

          People

            jaimin Jaimin Jetly
            jaimin Jaimin Jetly
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: