← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1553314] Re: Attempting to create a volume after deleting one fails

 

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

commit 9ee6390788020525979dc2f5e6a239a163ad3a89
Author: Timur Sufiev <tsufiev@xxxxxxxxxxxx>
Date:   Mon Mar 7 16:36:50 2016 +0300

    Fix empty 'href' in link actions after AJAX actions_update
    
    Since the non-existent template being used in
    horizon.datatables.update_actions has been fixed (thanks to
    https://review.openstack.org/#/c/281450/), we've started to experience
    missing href for link actions in a table header (i.e. table actions)
    after actions update.
    
    This is fixed by explicitly passing 'is_table_action' flag while
    rendering create/launch LinkAction-s that are known to be updated
    after AJAX row update.
    
    Guard against the bug regression with create_volume integration tests.
    
    Change-Id: I46e27178d74815d945c752bf3b7302b7f0ddc27d
    Closes-Bug: #1553314


** Changed in: horizon
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1553314

Title:
  Attempting to create a volume after deleting one fails

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  This is a fun bug.

  1) Create Volume, follow process until volume is created
  2) Delete volume from step 1.
  3) Click "Create Volume" again. The modal spinner appears briefly, then disappears and the console has the following error:

  jquery.js:8706 GET http://localhost:8000/project/volumes/?action=row_update&table=volumes&obj_id=9f1c9086-6086-491b-8826-502e34abcf00 404 (NOT FOUND)
  send @ jquery.js:8706
  jQuery.extend.ajax @ jquery.js:8136
  request @ horizon.communication.js:32
  horizon.ajax.next @ horizon.communication.js:48
  horizon.ajax.queue @ horizon.communication.js:39
  (anonymous function) @ horizon.tables.js:28
  jQuery.extend.each @ jquery.js:657
  jQuery.fn.jQuery.each @ jquery.js:266
  horizon.datatables.update @ horizon.tables.js:25
  horizon.addInitFunction.horizon.datatables.init @ horizon.tables.js:643
  horizon.init @ horizon.js:24
  fire @ jquery.js:3048
  self.fireWith @ jquery.js:3160
  jQuery.extend.ready @ jquery.js:433
  completed @ jquery.js:104

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1553314/+subscriptions


References