Fuel UI crashed after adding new field in general setting

Bug #1617261 reported by Denis Egorenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Julia Aranovich
Mitaka
Fix Released
High
Julia Aranovich

Bug Description

After adding a new element on UI in general attributes (simple text field), which has not any effect on already present fields, Fuel UI is crashed with error:

Uncaught TypeError: Cannot read property 'metadata' of undefined

In same time, the new element is present in list of cluster attributes.

steps to reproduce:

1) create any env;
2) deploy env;
3) with using cli command add new element:

fuel settings --env <id> --download -> add new yaml structure in proper format -> fuel settings --env <id> --upload

4) refresh UI;

Tags: area-ui
Changed in fuel:
milestone: none → 9.1
importance: Undecided → Critical
importance: Critical → High
summary: - Fuel UI crashed after adding new filed in general setting
+ Fuel UI crashed after adding new field in general setting
Changed in fuel:
assignee: nobody → Fuel UI Team (fuel-ui)
Changed in fuel:
status: New → Confirmed
assignee: Fuel UI Team (fuel-ui) → Julia Aranovich (jkirnosova)
tags: added: are-ui
tags: added: area-ui
removed: are-ui
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ui (master)

Fix proposed to branch: master
Review: https://review.openstack.org/362099

Changed in fuel:
status: Confirmed → In Progress
Changed in fuel:
milestone: 9.1 → 10.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ui (master)

Reviewed: https://review.openstack.org/362099
Committed: https://git.openstack.org/cgit/openstack/fuel-ui/commit/?id=1d3ca90b5e82ad6cf3d3f29417ba4dac5fe13faa
Submitter: Jenkins
Branch: master

commit 1d3ca90b5e82ad6cf3d3f29417ba4dac5fe13faa
Author: Julia Aranovich <email address hidden>
Date: Mon Aug 29 15:16:19 2016 +0300

    Support update of core settings of operational cluster

    Handle a difference between current and deployed
    cluster settings structure.
    UI should not crash if some settings were added after
    cluster deployment.

    Closes-Bug: #1617261

    Change-Id: I8bd572c73b53f976ba0f56f24a82efae05ccff9b

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ui (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/363536

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ui (stable/mitaka)

Reviewed: https://review.openstack.org/363536
Committed: https://git.openstack.org/cgit/openstack/fuel-ui/commit/?id=44f99835560c40f91e985c5e0a49e06fe211af4b
Submitter: Jenkins
Branch: stable/mitaka

commit 44f99835560c40f91e985c5e0a49e06fe211af4b
Author: Julia Aranovich <email address hidden>
Date: Mon Aug 29 15:16:19 2016 +0300

    Support update of core settings of operational cluster

    Handle a difference between current and deployed
    cluster settings structure.
    UI should not crash if some settings were added after
    cluster deployment.

    Closes-Bug: #1617261

    Change-Id: I8bd572c73b53f976ba0f56f24a82efae05ccff9b

tags: added: on-verification
Revision history for this message
ElenaRossokhina (esolomina) wrote :

verified
CUSTOM_VERSION=snapshot #233
MAGNET_LINK=magnet:?xt=urn:btih:bfec808dd71ff42c5613a3527733d9012bb1fabc&dn=MirantisOpenStack-9.0.iso&tr=http%3A%2F%2Ftracker01-bud.infra.mirantis.net%3A8080%2Fannounce&tr=http%3A%2F%2Ftracker01-scc.infra.mirantis.net%3A8080%2Fannounce&tr=http%3A%2F%2Ftracker01-msk.infra.mirantis.net%3A8080%2Fannounce&ws=http%3A%2F%2Fvault.infra.mirantis.net%2FMirantisOpenStack-9.0.iso
FUEL_QA_COMMIT=0e0774fc2a80a09f5ef61063a8b03dd10e739a64
UBUNTU_MIRROR_ID=ubuntu-2016-08-03-174238
CENTOS_MIRROR_ID=centos-7.2.1511-2016-05-31-083834
MOS_UBUNTU_MIRROR_ID=9.0-2016-09-07-160322
MOS_CENTOS_OS_MIRROR_ID=os-2016-06-23-135731
MOS_CENTOS_PROPOSED_MIRROR_ID=proposed-2016-09-07-164327
MOS_CENTOS_UPDATES_MIRROR_ID=updates-2016-06-23-135916
MOS_CENTOS_HOLDBACK_MIRROR_ID=holdback-2016-06-23-140047
MOS_CENTOS_HOTFIX_MIRROR_ID=hotfix-2016-07-18-162958
MOS_CENTOS_SECURITY_MIRROR_ID=security-2016-06-23-140002

tags: removed: on-verification
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-ui 10.0.0rc1

This issue was fixed in the openstack/fuel-ui 10.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-ui 10.0.0

This issue was fixed in the openstack/fuel-ui 10.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.