yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #39957
[Bug 1505209] [NEW] Unable to grant role in project to user/group in latest DevStack
Public bug reported:
Git version of Horizon 8.0.0.0rc2 from branch stable/liberty
Steps:
1. Identity -> Projects
2. Select one of projects and edit its members
3. One can add user but no roles to select are shown. No errors in apache log but in firebug console there is: TypeError: role_list is undefined
Some more informations from firebug console:
TypeError: role_list is undefined
http://myLocalIP/static/dashboard/js/a5878f7901a6.js
Line 3261
This is line 3261:
else{for(role in membership){if(membership.hasOwnProperty(role)){horizon.membership.remove_member(step_slug,data_id,role,membership[role]);}}}},add_member_to_role:function(step_slug,data_id,role_id){var role_list=horizon.membership.current_membership[step_slug][role_id];role_list.push(data_id);horizon.membership.update_role_lists(step_slug,role_id,role_list);},update_member_role_dropdown:function(step_slug,data_id,role_ids,member_el){if(typeof(role_ids)==='undefined'){role_ids=horizon.membership.get_member_roles(step_slug,data_id);}
And that part of line is indicated:
....current_membership[step_slug][role_id];role_list.push(data_id);horizon.membersh...
----------------------------------------------------------------------^
** Affects: horizon
Importance: Undecided
Status: New
--
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/1505209
Title:
Unable to grant role in project to user/group in latest DevStack
Status in OpenStack Dashboard (Horizon):
New
Bug description:
Git version of Horizon 8.0.0.0rc2 from branch stable/liberty
Steps:
1. Identity -> Projects
2. Select one of projects and edit its members
3. One can add user but no roles to select are shown. No errors in apache log but in firebug console there is: TypeError: role_list is undefined
Some more informations from firebug console:
TypeError: role_list is undefined
http://myLocalIP/static/dashboard/js/a5878f7901a6.js
Line 3261
This is line 3261:
else{for(role in membership){if(membership.hasOwnProperty(role)){horizon.membership.remove_member(step_slug,data_id,role,membership[role]);}}}},add_member_to_role:function(step_slug,data_id,role_id){var role_list=horizon.membership.current_membership[step_slug][role_id];role_list.push(data_id);horizon.membership.update_role_lists(step_slug,role_id,role_list);},update_member_role_dropdown:function(step_slug,data_id,role_ids,member_el){if(typeof(role_ids)==='undefined'){role_ids=horizon.membership.get_member_roles(step_slug,data_id);}
And that part of line is indicated:
....current_membership[step_slug][role_id];role_list.push(data_id);horizon.membersh...
----------------------------------------------------------------------^
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1505209/+subscriptions
Follow ups