You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ilya Borisov (JIRA)" <ji...@apache.org> on 2017/09/20 03:17:00 UTC

[jira] [Commented] (IGNITE-6446) Stuck on "Loading" screen

    [ https://issues.apache.org/jira/browse/IGNITE-6446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16172666#comment-16172666 ] 

Ilya Borisov commented on IGNITE-6446:
--------------------------------------

[~kuaw26] please review.

Looks like there were several issues:
1. Permissions hook did not run at all. I've updated it so it hooks into onBefore instead of onStart phase.
2. Permission hook returned `undefined`, but uiRouter hooks API [states|https://ui-router.github.io/ng1/docs/latest/modules/transition.html#hookresult] that one of particular values should be returned in order to perform redirect. I've fixed that.
3. Basic configuration screen lacked "configuration" permission. Even with fixes above it still stuck on loading screen. Fixed too.

> Stuck on "Loading" screen
> -------------------------
>
>                 Key: IGNITE-6446
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6446
>             Project: Ignite
>          Issue Type: Bug
>          Components: wizards
>    Affects Versions: 2.1
>            Reporter: Ilya Borisov
>            Assignee: Ilya Borisov
>             Fix For: 2.3
>
>
> *What happens:*
> Web console gets stuck in loading screen when user opens any URL without prior app navigation and any permission check or HTTP request fails due to missing/expired authorization cookie.
> *How to reproduce:*
> 1. Log out of web console or open private browser tab.
> 2. Go to http://locahost:9000/configuration/basic
> *What should happen:*
> User should be redirected to either 403 or signin screen.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)