Comment 4 for bug 1710890

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/495141
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=48862eb9b7f5789dee3362d9103416628c5d3e76
Submitter: Jenkins
Branch: master

commit 48862eb9b7f5789dee3362d9103416628c5d3e76
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:
    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.

    Change-Id: I4b23071a2a9e2c02cc1f46713165e5cb5155894f
    Closes-Bug: #1710890