← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1338522] [NEW] 'Add' button at Admin->Identity->Groups->'Group management' doesn't work

 

Public bug reported:

Upon pressing on that button modal spinner appears, then disappears and
here we are again with empty 'Group Members' table.

Having investigated it a bit, I found that `data` string that is
appended here
https://github.com/openstack/horizon/blob/2014.2.b1/horizon/static/horizon/js/horizon.modals.js#L43
is not appended as it supposed: instead of adding <div class="modal
hide">..</div> + <script>...</script> into <div
id='modal_wrapper></div>, only <script>...</script> is appended. Also,
after pressing 'Add' button several times there will be multiple
identical <script> nodes inside modal_wrapper div. I do not understand
the root cause of this bug, but moving <script>...</script> into <div
class="modal hide">...</div> solved the problem.

** Affects: horizon
     Importance: Undecided
     Assignee: Timur Sufiev (tsufiev-x)
         Status: In Progress

-- 
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/1338522

Title:
  'Add' button at Admin->Identity->Groups->'Group management' doesn't
  work

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  Upon pressing on that button modal spinner appears, then disappears
  and here we are again with empty 'Group Members' table.

  Having investigated it a bit, I found that `data` string that is
  appended here
  https://github.com/openstack/horizon/blob/2014.2.b1/horizon/static/horizon/js/horizon.modals.js#L43
  is not appended as it supposed: instead of adding <div class="modal
  hide">..</div> + <script>...</script> into <div
  id='modal_wrapper></div>, only <script>...</script> is appended. Also,
  after pressing 'Add' button several times there will be multiple
  identical <script> nodes inside modal_wrapper div. I do not understand
  the root cause of this bug, but moving <script>...</script> into <div
  class="modal hide">...</div> solved the problem.

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


Follow ups

References