You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Sandor Molnar (Jira)" <ji...@apache.org> on 2023/10/31 12:58:00 UTC

[jira] [Updated] (KNOX-2979) Remove redundant 'refresh' query parameter from logout.jsp

     [ https://issues.apache.org/jira/browse/KNOX-2979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sandor Molnar updated KNOX-2979:
--------------------------------
    Priority: Critical  (was: Major)

> Remove redundant 'refresh' query parameter from logout.jsp
> ----------------------------------------------------------
>
>                 Key: KNOX-2979
>                 URL: https://issues.apache.org/jira/browse/KNOX-2979
>             Project: Apache Knox
>          Issue Type: Task
>          Components: Homepage, KnoxSSO
>    Affects Versions: 2.0.0, 1.6.0, 1.6.1
>            Reporter: Sandor Molnar
>            Assignee: Sandor Molnar
>            Priority: Critical
>             Fix For: 2.1.0
>
>
> KNOX-2625 introduced a new query parameter called {{refresh}} which is only used in the Knox Home page UI's {{handleError}} method. Because of the way Angular renders after issuing a {{sweetalert}} notification, which we do, followed by a {{{}Promise.reject(String){}}}, the {{refresh}} query parameter is redundant and not needed at all.
> Even worse, it might interfere with the profile/topology query parameters we added in KNOX-2972 in a way such that the topologies will not be displayed.
> Therefore, removing the {{refresh}} query parameter in the logout link is highly recommended.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)