Repository: stratos Updated Branches: refs/heads/master b764cd2de -> ae511af99
fix no autoscaling policy handler to map with REST API change Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/ae511af9 Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/ae511af9 Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/ae511af9 Branch: refs/heads/master Commit: ae511af99197a4900e3228071d30129a23434395 Parents: b764cd2 Author: Dakshika Jayathilaka <[email protected]> Authored: Thu Apr 30 19:12:54 2015 +0530 Committer: Dakshika Jayathilaka <[email protected]> Committed: Thu Apr 30 19:12:54 2015 +0530 ---------------------------------------------------------------------- .../org.apache.stratos.manager.console/console/configure_form.jag | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/ae511af9/components/org.apache.stratos.manager.console/console/configure_form.jag ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.manager.console/console/configure_form.jag b/components/org.apache.stratos.manager.console/console/configure_form.jag index 146d4a3..d98da9f 100644 --- a/components/org.apache.stratos.manager.console/console/configure_form.jag +++ b/components/org.apache.stratos.manager.console/console/configure_form.jag @@ -88,6 +88,8 @@ if(isEdit == false && elements.action != 'new') { list_data = util.RESTCalls.getPolicyAutoScales(); if (list_data && list_data.length === 0) { list_data = null; + }else if(list_data.errorCode == '404'){ //TODO: need to fix this right way + list_data = null; } break;
