[UI] UI crashes if the UI definition file has no Forms section

Bug #1630672 reported by Alexander Tivelkov on 2016-10-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Medium
Alexander Tivelkov
Mitaka
Medium
Alexander Tivelkov
Newton
Medium
Kirill Zaitsev
Ocata
Medium
Alexander Tivelkov

Bug Description

Technically speaking the only mandatory section of the UI definition file is the "Application" block which defines the input object model snippet. Everything else is optional: the app developer may have no user input for their app (besides its name).

However, UI wizard crashes with error if there is no Forms section in the UI definition, but this should not be the case.

Tags: ux Edit Tag help
Changed in murano:
assignee: nobody → Alexander Tivelkov (ativelkov)
tags: added: ux

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

Changed in murano:
status: New → In Progress
Changed in murano:
importance: Undecided → Medium
milestone: none → ocata-1

Reviewed: https://review.openstack.org/382569
Committed: https://git.openstack.org/cgit/openstack/murano-dashboard/commit/?id=2114c2672465ba14bb7b115b2f69f9afe6c6f801
Submitter: Jenkins
Branch: master

commit 2114c2672465ba14bb7b115b2f69f9afe6c6f801
Author: Alexander Tivelkov <email address hidden>
Date: Wed Oct 5 19:52:46 2016 +0300

    'Forms:' section is now truly optional in ui definition

    The only mandatory section of the UI definition file is the
    "Application" block which defines the input object model snippet.
    Everything else is optional: the app developer may have no user input
    for their app besides its name.

    However, the UI was crashing if no 'Forms:' section is present. This
    has been fixed.

    Change-Id: Ie72770a8810369e2bff9a59e8f3845144032f080
    Closes-bug: #1630672

Changed in murano:
status: In Progress → Fix Released

Reviewed: https://review.openstack.org/382575
Committed: https://git.openstack.org/cgit/openstack/murano-dashboard/commit/?id=7e9aaf20fdae100c97d1f67a18e0e105b90e7a0c
Submitter: Jenkins
Branch: stable/mitaka

commit 7e9aaf20fdae100c97d1f67a18e0e105b90e7a0c
Author: Alexander Tivelkov <email address hidden>
Date: Wed Oct 5 19:52:46 2016 +0300

    'Forms:' section is now truly optional in ui definition

    The only mandatory section of the UI definition file is the
    "Application" block which defines the input object model snippet.
    Everything else is optional: the app developer may have no user input
    for their app besides its name.

    However, the UI was crashing if no 'Forms:' section is present. This
    has been fixed.

    Change-Id: Ie72770a8810369e2bff9a59e8f3845144032f080
    Closes-bug: #1630672

Reviewed: https://review.openstack.org/382574
Committed: https://git.openstack.org/cgit/openstack/murano-dashboard/commit/?id=d47dccfc6f02289f4a430795cb1eabc794915ae8
Submitter: Jenkins
Branch: stable/newton

commit d47dccfc6f02289f4a430795cb1eabc794915ae8
Author: Alexander Tivelkov <email address hidden>
Date: Wed Oct 5 19:52:46 2016 +0300

    'Forms:' section is now truly optional in ui definition

    The only mandatory section of the UI definition file is the
    "Application" block which defines the input object model snippet.
    Everything else is optional: the app developer may have no user input
    for their app besides its name.

    However, the UI was crashing if no 'Forms:' section is present. This
    has been fixed.

    Change-Id: Ie72770a8810369e2bff9a59e8f3845144032f080
    Closes-bug: #1630672

This issue was fixed in the openstack/murano-dashboard 3.1.0 release.

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

Other bug subscribers