AMBARI-13118. Add service wizard: js error on review page, that makes impossible to finish this wiz (alexantonenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/8216e4e6 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/8216e4e6 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/8216e4e6 Branch: refs/heads/trunk Commit: 8216e4e6764b8f947b021c26d38901adaaa1a650 Parents: 8a615b0 Author: Alex Antonenko <[email protected]> Authored: Wed Sep 16 19:45:41 2015 +0300 Committer: Alex Antonenko <[email protected]> Committed: Wed Sep 16 19:45:41 2015 +0300 ---------------------------------------------------------------------- ambari-web/app/utils/configs/config_property_helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/8216e4e6/ambari-web/app/utils/configs/config_property_helper.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/utils/configs/config_property_helper.js b/ambari-web/app/utils/configs/config_property_helper.js index 828e24d..d4ce44a 100644 --- a/ambari-web/app/utils/configs/config_property_helper.js +++ b/ambari-web/app/utils/configs/config_property_helper.js @@ -162,7 +162,7 @@ module.exports = { } break; case 'oozie_hostname': - configProperty.set('recommendedValue', masterComponentHostsInDB.filterProperty('component', 'OOZIE_SERVER').mapProperty('hostName')); + configProperty.set('recommendedValue', masterComponentHostsInDB.filterProperty('component', 'OOZIE_SERVER').mapProperty('hostName')[0]); case 'oozieserver_host': configProperty.set('value', masterComponentHostsInDB.filterProperty('component', 'OOZIE_SERVER').mapProperty('hostName')); break;
