This fixes an issue introduced by watchers:
when page initialized images watchers called before
select boot source watcher.it leads to sutiation when
we specify selection from user input and flush it on
updateBootSource. as a result page come to
inconsistent state described in the bug.
Perhaps, this requires big refactoring but in the
current patch we do not flush selection if boot type
was not changed. it allows to use image, snapshot,
volume from context as ctrl.selection.
Reviewed: https:/ /review. openstack. org/495141 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=48862eb9b7f 5789dee3362d910 3416628c5d3e76
Committed: https:/
Submitter: Jenkins
Branch: master
commit 48862eb9b7f5789 dee3362d9103416 628c5d3e76
Author: kairat_kushaev <email address hidden>
Date: Fri Aug 18 13:30:59 2017 +0400
do not flush selection on "old" boot source
This fixes an issue introduced by watchers: ource. as a result page come to
when page initialized images watchers called before
select boot source watcher.it leads to sutiation when
we specify selection from user input and flush it on
updateBootS
inconsistent state described in the bug.
Perhaps, this requires big refactoring but in the
current patch we do not flush selection if boot type
was not changed. it allows to use image, snapshot,
volume from context as ctrl.selection.
Change-Id: I4b23071a2a9e2c 02cc1f46713165e 5cb5155894f
Closes-Bug: #1710890