Metadata widget stopped working

Bug #1410583 reported by Julie Gravel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Travis Tripp

Bug Description

I tried the "Update Metadata" widget in Admin -> Flavors and Admin -> Images. They both used to display the list of available metadata on the left table. Users can then add them to the Existing Metadata table on the right by clicking on the "+" icon. Now the available metadata no longer shows up on the left table. Instead, there's a message "No available metadata".

Another issue is that the "Other" box is no longer working. I entered a new metadata key into the box and clicked "+". The key was not added to the existing metadata list. It was displayed down in the description area below ( see attachment ).

Revision history for this message
Julie Gravel (julie-gravel) wrote :
Changed in horizon:
assignee: nobody → Travis Tripp (travis-tripp)
importance: Undecided → Medium
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/147047

Changed in horizon:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/147047
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=242943f3a8cbf772ce92a00ed2503f059408f678
Submitter: Jenkins
Branch: master

commit 242943f3a8cbf772ce92a00ed2503f059408f678
Author: Travis Tripp <email address hidden>
Date: Tue Jan 13 18:15:45 2015 -0700

    Update Metadata Widget to angular 1.3.7

    Following stopped working with update to angular 1.3.7

     - Available metadata (type a filter to see it)
     - Adding metadata from left to right
     - Existing metadata
     - Saving metadata

    There are numerous things that have changed in angular 1.3.7
    from the previous angular 1.2.x.

    The view of available metadata and existing metadata was affected
    by the array filter no longer handling undefined for the $ input argument.

    The + over and saving metadata were affected by this change:
    !! in filters is now !null
     http://stackoverflow.com/questions/18644412/angularjs-filter-not-null

    ng-pattern changed in 1.3.x

    http://stackoverflow.com/questions/26439161/
    angularjs-validation-behaves-differently-for-1-3-0-and-1-2-6

    It now works in flavors and host aggregates, but still has an issue in images.
    The images issues appears to be unrelated, but caused by a javascript error
    on the images page itself.

    Change-Id: I4a2c9f29fdbc6bfc316e3b3b0000817d1516aaa2
    Partial-Bug: #1410583

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
milestone: none → kilo-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: kilo-2 → 2015.1.0
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.