Andy LoPresto created NIFI-3805:
-----------------------------------

             Summary: When attempting to visit a NiFi deep-link that doesn't 
exist, go to the root PG
                 Key: NIFI-3805
                 URL: https://issues.apache.org/jira/browse/NIFI-3805
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Core UI
    Affects Versions: 1.2.0
            Reporter: Andy LoPresto


With the introduction of the deep-linking capability, a user can click on a URL 
like 
https://localhost:8080/nifi/?processGroupId=d48915f6-015b-1000-7081-3ef536290233&componentIds=
 to jump to a specific process group. However, if the process group does not 
exist, the user will get a NiFi error screen with the message: 

{quote}
An unexpected error has occurred
Unable to locate group with id 'd48915f6-015b-1000-7081-3ef536290233'.
{quote}

This error screen indicates that the entire application is not working, as it 
is usually found when the application cannot be accessed for a permissions 
issue or serious internal error. 

I propose that the view instead redirects to the root PG (or the highest level 
the user is authorized to view) and a modal error dialog (with only the message 
"Unable to locate group 'xyz'") is shown. This immediately indicates to the 
user that the application is still working fine, it's just that the desired 
group is not available.  



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to