[
https://issues.apache.org/jira/browse/AMBARI-20050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Belliraj HB updated AMBARI-20050:
---------------------------------
Summary: Errors from workflow manager apis are not displayed in the UI
(was: Issue while importing workflow with insufficient permissions)
> Errors from workflow manager apis are not displayed in the UI
> -------------------------------------------------------------
>
> Key: AMBARI-20050
> URL: https://issues.apache.org/jira/browse/AMBARI-20050
> Project: Ambari
> Issue Type: Bug
> Components: ambari-views
> Affects Versions: 2.5.0
> Reporter: Supreeth Sharma
> Assignee: M Madhan Mohan Reddy
> Priority: Critical
> Fix For: 2.5.0
>
> Attachments: AMBARI-20050_trunk.patch
>
>
> Facing Issue while importing workflow with insufficient permissions. Though
> /api/v1/views/WORKFLOW_MANAGER/versions/1.0.0/instances/WFM/resources/proxy/readWorkflowDetail?workflowXmlPath=/user/admin/new/email.xml
> is failed with 500 code, its not been handled on the UI.
> UI is stuck in import phase.
> Steps to reproduce :
> 1) Login as user1 and submit workflow and save to hdfs location /user/user1
> 2) Now login as user2 who doesn't have access to /user/user1 .
> Now user2 can view the workflow status in the dashboard.
> 3) Click on edit workflow and try to navigate to designer page.
> 4) Due to lack of permission, user is not allowed to import the workflow and
> UI is not handling this error.
> This should be properly handled on the UI and appropriate error message need
> to be displayed.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)