[
https://issues.apache.org/jira/browse/KNOX-2979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sandor Molnar updated KNOX-2979:
--------------------------------
Description:
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 pages 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.
was:
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.
> 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 pages 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)