Volume Type Extra Specs needs modal dialog

Bug #1362704 reported by Richard Hagarty
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
Julie Gravel

Bug Description

Currently, when a user wants to create an Extra Spec, the panel changes to show 2 input fields - "key" and "value".

This deviates from other "like" Horizon panels where the new fields are presented in a modal dialog.

Actually, I think this is what was intended because if you look at the code in volume_types/extras/tables.py:ExtraSpecCreate(), the class it specifies is "ajax-modal".

But a trailing "," was left off, invalidating the call. Simply adding a trailing comma to this call will result in a modal dialog being displayed.

Revision history for this message
Richard Hagarty (richard-hagarty) wrote :

Suggestion - change:

classes = ("ajax-modal")

to:

classes = ("ajax-modal",)

Changed in horizon:
status: New → Confirmed
importance: Undecided → Low
tags: added: low-hanging-fruit volume
Changed in horizon:
assignee: nobody → Julie Gravel (julie-gravel)
Revision history for this message
Julie Gravel (julie-gravel) wrote :

Added screen capture of the dialog. Notice that there's no highlighting of the first field where the cursor should be.

Revision history for this message
Zhenguo Niu (niu-zglinux) wrote :

This bug was introduced by adding 'Create' buttons missing '+' icon: https://review.openstack.org/#/c/110167/

and can you please also fix the same issue at Image Custom Properties-> class PropertyCreate.

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

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

Changed in horizon:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Julie Gravel (<email address hidden>) on branch: master
Review: https://review.openstack.org/118463
Reason: The new submit for this is https://review.openstack.org/#/c/118477.

David Lyle (david-lyle)
Changed in horizon:
milestone: none → juno-3
Thierry Carrez (ttx)
Changed in horizon:
milestone: juno-3 → juno-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/118477
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=9fa131cfeb1311ac9284d906602140582cf2acaf
Submitter: Jenkins
Branch: master

commit 9fa131cfeb1311ac9284d906602140582cf2acaf
Author: Julie Gravel <email address hidden>
Date: Tue Sep 2 02:58:12 2014 -0700

    Fix missing trailing commas for modal dialogs

    Trailing commas were accidentally removed from the 'classes' attribute
    of the table actions for the Create Property and the Create Volume Type
    Extra Spec dialogs. This caused the dialogs to lose the modality.

    This submit fixes the problem on the two dialogs.

    Change-Id: Id2c2d1f8354e95016dc121d1143a6ea5b4460de1
    Closes-Bug: #1362704

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: juno-rc1 → 2014.2
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.