Srimanth Gunturi created AMBARI-7270:
----------------------------------------

             Summary: FE: Errors in /recommendation API being silently ignored
                 Key: AMBARI-7270
                 URL: https://issues.apache.org/jira/browse/AMBARI-7270
             Project: Ambari
          Issue Type: Task
          Components: ambari-web
    Affects Versions: 1.7.0
            Reporter: Srimanth Gunturi
            Assignee: Srimanth Gunturi
             Fix For: 1.7.0


To reproduce, put an error in stack-advisor.py script to throw an exception. 
When /recommendation API is called, it throws a 400-BadRequest error. However 
the UI is silently hiding this issue, and showing blank page - which is 
confusing to user.

At a minimum, the UI should show an error dialog explaining the error. In 
BUG-22261 we will be providing why the call failed. We should atleast show this 
error message. There is a standard error dialog we show for failing HTTP 
invocations - we should use the same dialog to show the error code, reason and 
message.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to