FALCON-850 Cluster summary UI page results in 400 Bad Request. Contributed by Balu Vellanki
Project: http://git-wip-us.apache.org/repos/asf/incubator-falcon/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-falcon/commit/a4977545 Tree: http://git-wip-us.apache.org/repos/asf/incubator-falcon/tree/a4977545 Diff: http://git-wip-us.apache.org/repos/asf/incubator-falcon/diff/a4977545 Branch: refs/heads/master Commit: a49775453328b9539a6c16511ff4a0d079b76a5a Parents: 27693c6 Author: Venkatesh Seetharam <venkat...@apache.org> Authored: Mon Nov 3 10:25:45 2014 -0800 Committer: Venkatesh Seetharam <venkat...@apache.org> Committed: Mon Nov 3 10:25:45 2014 -0800 ---------------------------------------------------------------------- CHANGES.txt | 3 +++ html5-ui/js/falcon-entity.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a4977545/CHANGES.txt ---------------------------------------------------------------------- diff --git a/CHANGES.txt b/CHANGES.txt index 05cc582..999bc04 100755 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -125,6 +125,9 @@ Trunk (Unreleased) OPTIMIZATIONS BUG FIXES + FALCON-850 Cluster summary UI page results in 400 Bad Request + (Balu Vellanki via Venkatesh Seetharam) + FALCON-851 Super user authorization is broken (Venkatesh Seetharam) FALCON-840 Possible NPE in filteredInstanceSet method of http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a4977545/html5-ui/js/falcon-entity.js ---------------------------------------------------------------------- diff --git a/html5-ui/js/falcon-entity.js b/html5-ui/js/falcon-entity.js index bb6a156..32ca4d6 100644 --- a/html5-ui/js/falcon-entity.js +++ b/html5-ui/js/falcon-entity.js @@ -85,7 +85,7 @@ } function load() { - var isCluster = entityType === 'cluster'; + var isCluster = entityType.toLowerCase() === 'cluster'; falcon.getText(url('entities/definition'), function (data) { $('#entity-def-textarea')