ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yusaku Sako (JIRA)" <>
Subject [jira] [Commented] (AMBARI-6131) Services page intermittently loaded with empty content
Date Mon, 16 Jun 2014 18:54:01 GMT


Yusaku Sako commented on AMBARI-6131:

+1 for the patch.

> Services page intermittently loaded with empty content
> ------------------------------------------------------
>                 Key: AMBARI-6131
>                 URL:
>             Project: Ambari
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 1.6.1
>            Reporter: Jaimin D Jetly
>            Assignee: Jaimin D Jetly
>             Fix For: 1.6.1
>         Attachments: AMBARI-6131.patch
> *Cause of the Bug:*
> With some unknown prior actions on the cluster on host page load, [code|;a=blob;f=ambari-web/app/views/main/host.js;h=8a4d01e1548e4f29b601f2cafc827f7588e92896;hb=HEAD#l101]
returns one of it's elements as plain ember object with no property set (not even iColumn
key). This breaks the [code|;a=blob;f=ambari-web/app/views/main/host.js;h=8a4d01e1548e4f29b601f2cafc827f7588e92896;hb=HEAD#l107]
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 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 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|;a=blob;f=ambari-web/app/views/main/host.js;h=8a4d01e1548e4f29b601f2cafc827f7588e92896;hb=HEAD#l562].

This message was sent by Atlassian JIRA

View raw message