[
https://issues.apache.org/jira/browse/AMBARI-6313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14046567#comment-14046567
]
Jaimin D Jetly commented on AMBARI-6313:
----------------------------------------
This issue occurs because in-memory value of content.hosts for
addHostController is not consistent with LocalStorage value.
LocalStorage value is correct and we need to reload that to content.hosts
variable.
This issue happens after AMBARI-6026 commit. Over here we are setting
content.hosts and the LocalStorage object to "installed hosts in the cluster"
in add_view.js. LocalStorage value is later updated to the correct value as we
override the LocalStorage from the server persisted data but in memory value is
not updated.
> Add Host wizard: Browser Refresh is not handled gracefully
> ----------------------------------------------------------
>
> Key: AMBARI-6313
> URL: https://issues.apache.org/jira/browse/AMBARI-6313
> Project: Ambari
> Issue Type: Bug
> Components: client
> Affects Versions: 1.6.1
> Reporter: Jaimin D Jetly
> Assignee: Jaimin D Jetly
> Priority: Critical
> Fix For: 1.6.1
>
> Attachments: AMBARI-6313.patch, Assign Master.png, Confirm Host
> refresh.png, Deploy on Review page.png, Review page.png
>
>
> Refreshing on Assign Slaves page displays empty content for host-slave
> selection area.
> Refreshing on configuration page or review page make "Total host" field on
> Review page appear incorrect number
> On hitting deploy button, wizard hangs ("Deploy on Review page.png").
> Refreshing and again deploying at this point does not help.
> workaround: Go back to step-1 and navigate through entire wizard again
--
This message was sent by Atlassian JIRA
(v6.2#6252)