Repository: stratos
Updated Branches:
  refs/heads/master ae511af99 -> 385eadba2


fix no appliction definition 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/8dea27c3
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/8dea27c3
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/8dea27c3

Branch: refs/heads/master
Commit: 8dea27c351719213a533ee378612f6646cfd7961
Parents: ae511af
Author: Dakshika Jayathilaka <[email protected]>
Authored: Thu Apr 30 20:45:11 2015 +0530
Committer: Dakshika Jayathilaka <[email protected]>
Committed: Thu Apr 30 20:45:11 2015 +0530

----------------------------------------------------------------------
 .../console/applications_form.jag                                  | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/8dea27c3/components/org.apache.stratos.manager.console/console/applications_form.jag
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/applications_form.jag 
b/components/org.apache.stratos.manager.console/console/applications_form.jag
index 8d828bc..40e35bf 100644
--- 
a/components/org.apache.stratos.manager.console/console/applications_form.jag
+++ 
b/components/org.apache.stratos.manager.console/console/applications_form.jag
@@ -100,6 +100,8 @@ switch (formtype) {
         list_data = util.RESTCalls.getApplications();
         if (list_data && list_data.length === 0) {
             list_data = null;
+        }else if(list_data.errorCode == '404'){ //TODO : need to fix this with 
REST API class
+            list_data = null;
         }
         break;
 

Reply via email to