Created attachment 1212323 [details] screen capture Description of problem: Customer is trying to add child tenant/project on their tenant in running CFME "Add Child tenant", "Add Project" option are not shown from the option list CFME 5.6.2.1, CFME 5.6.1.2 Brand new CFME appliance is working fine - can see "Add Child tenant", "Add Project" option from the list FYI: Customer is using Customized Groups with Tenant tag Customer was following https://access.redhat.com/sites/default/files/attachments/redhatcloudforms4.0_betafeaturesguide_2.pdf "Use case 2: Add a new tenant or project" part Version-Release number of selected component (if applicable): CFME 5.6.2.1, CFME 5.6.1.2 How reproducible: Import customer db then option became unavailable. Steps to Reproduce: 1. Not sure how but reproduced the issue in our lab 2. Just assuming customized tenant tag in main tenant Actual results: can't see "Add Child tenant", "Add Project" option from action list Expected results: Want to see "Add Child tenant", "Add Project" option from action list Additional info: Was able to see same issue on our lab with customer db
Production.log when add tenant/project menu is not available ####################################################### [----] D, [2016-10-19T22:08:37.078880 #19746:114f98c] DEBUG -- : Zone Load (1.7ms) SELECT "zones".* FROM "zones" WHERE ("zones"."id" BETWEEN $1 AND $2) [["id", 1000000000000], ["id", 1999999999999]] [----] D, [2016-10-19T22:08:37.079878 #19746:114f98c] DEBUG -- : Zone Inst Including Associations (0.3ms - 1rows) [----] D, [2016-10-19T22:08:37.082108 #19746:114f98c] DEBUG -- : MiqServer Load (0.9ms) SELECT "miq_servers".* FROM "miq_servers" WHERE "miq_servers"."guid" = $1 LIMIT $2 [["guid", "924b659c-91d8-11e6-b1cc-00163e740487"], ["LIMIT", 1]] [----] D, [2016-10-19T22:08:37.083495 #19746:114f98c] DEBUG -- : MiqServer Inst Including Associations (0.5ms - 1rows) [----] D, [2016-10-19T22:08:37.086358 #19746:114f98c] DEBUG -- : Zone Load (0.4ms) SELECT "zones".* FROM "zones" WHERE "zones"."id" = $1 LIMIT $2 [["id", 1000000000001], ["LIMIT", 1]] [----] D, [2016-10-19T22:08:37.086949 #19746:114f98c] DEBUG -- : Zone Inst Including Associations (0.2ms - 1rows) [----] D, [2016-10-19T22:08:37.090524 #19746:114f98c] DEBUG -- : MiqQueue Load (1.2ms) SELECT "miq_queue".* FROM "miq_queue" WHERE "miq_queue"."queue_name" = $1 AND "miq_queue"."state" = $2 AND "miq_queue"."zone" = $3 AND "miq_queue"."priority" = $4 AND "miq_queue"."class_name" = $5 AND "miq_queue"."method_name" = $6 AND "miq_queue"."task_id" = $7 AND "miq_queue"."role" = $8 ORDER BY priority, id LIMIT $9 [["queue_name", "generic"], ["state", "ready"], ["zone", "default"], ["priority", 20], ["class_name", "JobProxyDispatcher"], ["method_name", "dispatch"], ["task_id", "job_dispatcher"], ["role", "smartstate"], ["LIMIT", 1]] [----] D, [2016-10-19T22:08:37.091194 #19746:114f98c] DEBUG -- : MiqQueue Inst Including Associations (0.0ms - 0rows) [----] D, [2016-10-19T22:08:37.093550 #19746:114f98c] DEBUG -- : (1.3ms) BEGIN [----] D, [2016-10-19T22:08:37.097390 #19746:114f98c] DEBUG -- : SQL (0.9ms) INSERT INTO "miq_queue" ("priority", "method_name", "state", "created_on", "updated_on", "task_id", "queue_name", "class_name", "zone", "role", "msg_timeout", "lock_version") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["priority", 20], ["method_name", "dispatch"], ["state", "ready"], ["created_on", 2016-10-20 02:08:37 UTC], ["updated_on", 2016-10-20 02:08:37 UTC], ["task_id", "job_dispatcher"], ["queue_name", "generic"], ["class_name", "JobProxyDispatcher"], ["zone", "default"], ["role", "smartstate"], ["msg_timeout", 600], ["lock_version", 0]] [----] D, [2016-10-19T22:08:37.100153 #19746:114f98c] DEBUG -- : (1.9ms) COMMIT [----] D, [2016-10-19T22:08:37.105540 #19746:114f98c] DEBUG -- : SQL (1.6ms) SELECT "miq_schedules"."id" AS t0_r0, "miq_schedules"."name" AS t0_r1, "miq_schedules"."description" AS t0_r2, "miq_schedules"."sched_action" AS t0_r3, "miq_schedules"."filter" AS t0_r4, "miq_schedules"."towhat" AS t0_r5, "miq_schedules"."run_at" AS t0_r6, "miq_schedules"."enabled" AS t0_r7, "miq_schedules"."userid" AS t0_r8, "miq_schedules"."prod_default" AS t0_r9, "miq_schedules"."last_run_on" AS t0_r10, "miq_schedules"."created_on" AS t0_r11, "miq_schedules"."updated_at" AS t0_r12, "miq_schedules"."miq_search_id" AS t0_r13, "miq_schedules"."zone_id" AS t0_r14, "miq_schedules"."adhoc" AS t0_r15, "miq_schedules"."file_depot_id" AS t0_r16, "zones"."id" AS t1_r0, "zones"."name" AS t1_r1, "zones"."description" AS t1_r2, "zones"."created_on" AS t1_r3, "zones"."updated_on" AS t1_r4, "zones"."settings" AS t1_r5, "zones"."log_file_depot_id" AS t1_r6 FROM "miq_schedules" LEFT OUTER JOIN "zones" ON "zones"."id" = "miq_schedules"."zone_id" WHERE "zones"."name" = $1 [["name", "default"]] [----] D, [2016-10-19T22:08:37.114921 #19746:114f98c] DEBUG -- : MiqSchedule Inst Including Associations (8.1ms - 43rows) [----] D, [2016-10-19T22:08:37.117620 #19746:114f98c] DEBUG -- : MiqSchedule Load (0.8ms) SELECT "miq_schedules".* FROM "miq_schedules" WHERE (updated_at > '2016-10-20 02:08:22.065157') [----] D, [2016-10-19T22:08:37.118338 #19746:114f98c] DEBUG -- : MiqSchedule Inst Including Associations (0.0ms - 0rows) [----] D, [2016-10-19T22:08:37.471967 #19536:114f98c] DEBUG -- : (1.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "miq_queue" WHERE ( state = 'ready' AND (zone IS NULL OR zone = 'default') AND (task_id IS NULL OR task_id NOT IN ( SELECT DISTINCT task_id FROM miq_queue WHERE state = 'dequeue' AND (zone IS NULL OR zone = 'default') AND task_id IS NOT NULL )) AND queue_name = 'miq_server' AND (role IS NULL OR role IN ('automate','database_operations','database_owner','ems_inventory','ems_operations','event','reporting','scheduler','smartstate','user_interface','web_services','websocket')) AND (server_guid IS NULL OR server_guid = '924b659c-91d8-11e6-b1cc-00163e740487') AND (deliver_on IS NULL OR deliver_on <= '2016-10-20 02:08:37.467885') AND (priority <= 200) ) LIMIT $1) subquery_for_count [["LIMIT", 10]] [----] D, [2016-10-19T22:08:37.474514 #19536:114f98c] DEBUG -- : MiqQueue Load (0.9ms) SELECT id, lock_version, priority, role FROM "miq_queue" WHERE ( state = 'ready' AND (zone IS NULL OR zone = 'default') AND queue_name = 'ems' AND (role IS NULL OR role IN ('automate','database_operations','database_owner','ems_inventory','ems_operations','event','reporting','scheduler','smartstate','user_interface','web_services','websocket')) AND (server_guid IS NULL OR server_guid = '924b659c-91d8-11e6-b1cc-00163e740487') AND (deliver_on IS NULL OR deliver_on <= '2016-10-20 02:08:37.472614') AND (priority <= 200) ) ORDER BY "miq_queue"."priority" ASC, "miq_queue"."id" ASC LIMIT $1 [["LIMIT", 100]] [----] D, [2016-10-19T22:08:37.474936 #19536:114f98c] DEBUG -- : MiqQueue Inst Including Associations (0.0ms - 0rows) [----] D, [2016-10-19T22:08:37.477114 #19536:114f98c] DEBUG -- : MiqQueue Load (0.8ms) SELECT id, lock_version, priority, role FROM "miq_queue" WHERE ( state = 'ready' AND (zone IS NULL OR zone = 'default') AND queue_name = 'generic' AND (role IS NULL OR role IN ('automate','database_operations','database_owner','ems_inventory','ems_operations','event','reporting','scheduler','smartstate','user_interface','web_services','websocket')) AND (server_guid IS NULL OR server_guid = '924b659c-91d8-11e6-b1cc-00163e740487') AND (deliver_on IS NULL OR deliver_on <= '2016-10-20 02:08:37.475265') AND (priority <= 200) ) ORDER BY "miq_queue"."priority" ASC, "miq_queue"."id" ASC LIMIT $1 [["LIMIT", 400]] [----] D, [2016-10-19T22:08:37.477654 #19536:114f98c] DEBUG -- : MiqQueue Inst Including Associations (0.3ms - 1rows) [----] D, [2016-10-19T22:08:37.480403 #19536:114f98c] DEBUG -- : MiqQueue Load (1.0ms) SELECT id, lock_version, priority, role FROM "miq_queue" WHERE ( state = 'ready' AND (zone IS NULL OR zone = 'default') AND queue_name = 'reporting' AND (role IS NULL OR role IN ('automate','database_operations','database_owner','ems_inventory','ems_operations','event','reporting','scheduler','smartstate','user_interface','web_services','websocket')) AND (server_guid IS NULL OR server_guid = '924b659c-91d8-11e6-b1cc-00163e740487') AND (deliver_on IS NULL OR deliver_on <= '2016-10-20 02:08:37.478119') AND (priority <= 200) ) ORDER BY "miq_queue"."priority" ASC, "miq_queue"."id" ASC LIMIT $1 [["LIMIT", 200]] [----] D, [2016-10-19T22:08:37.480751 #19536:114f98c] DEBUG -- : MiqQueue Inst Including Associations (0.0ms - 0rows) [----] D, [2016-10-19T22:08:37.521901 #19710:114f98c] DEBUG -- : (0.5ms) SELECT pg_backend_pid() [----] D, [2016-10-19T22:08:37.528531 #19710:114f98c] DEBUG -- : MiqQueue Load (0.4ms) SELECT "miq_queue".* FROM "miq_queue" WHERE "miq_queue"."id" = $1 LIMIT $2 [["id", 1000014568375], ["LIMIT", 1]] [----] D, [2016-10-19T22:08:37.529307 #19710:114f98c] DEBUG -- : MiqQueue Inst Including Associations (0.1ms - 1rows) [----] D, [2016-10-19T22:08:37.530618 #19710:114f98c] DEBUG -- : MiqServer Load (0.6ms) SELECT "miq_servers".* FROM "miq_servers" WHERE "miq_servers"."guid" = $1 LIMIT $2 [["guid", "924b659c-91d8-11e6-b1cc-00163e740487"], ["LIMIT", 1]] [----] D, [2016-10-19T22:08:37.531871 #19710:114f98c] DEBUG -- : MiqServer Inst Including Associations (0.5ms - 1rows) [----] D, [2016-10-19T22:08:37.534613 #19710:114f98c] DEBUG -- : Zone Load (0.3ms) SELECT "zones".* FROM "zones" WHERE "zones"."id" = $1 LIMIT $2 [["id", 1000000000001], ["LIMIT", 1]] [----] D, [2016-10-19T22:08:37.534704 #19719:114f98c] DEBUG -- : (0.4ms) SELECT pg_backend_pid() [----] D, [2016-10-19T22:08:37.535168 #19710:114f98c] DEBUG -- : Zone Inst Including Associations (0.3ms - 1rows) [----] D, [2016-10-19T22:08:37.537421 #19710:114f98c] DEBUG -- : MiqQueue Exists (0.6ms) SELECT 1 AS one FROM "miq_queue" WHERE "miq_queue"."state" = $1 AND ("miq_queue"."zone" = 'default' OR "miq_queue"."zone" IS NULL) AND "miq_queue"."task_id" = $2 LIMIT $3 [["state", "dequeue"], ["task_id", "job_dispatcher"], ["LIMIT", 1]] [----] D, [2016-10-19T22:08:37.538151 #19710:114f98c] DEBUG -- : (0.3ms) BEGIN [----] D, [2016-10-19T22:08:37.543162 #19710:114f98c] DEBUG -- : SQL (0.8ms) UPDATE "miq_queue" SET "state" = 'dequeue', "handler_id" = 1000000040239, "handler_type" = 'MiqWorker', "updated_on" = '2016-10-20 02:08:37.539764', "lock_version" = 1 WHERE "miq_queue"."id" = $1 AND "miq_queue"."lock_version" = $2 [["id", 1000014568375], ["lock_version", 0]] [----] D, [2016-10-19T22:08:37.545564 #19710:114f98c] DEBUG -- : (1.6ms) COMMIT [----] D, [2016-10-19T22:08:37.549831 #19710:114f98c] DEBUG -- : Q-task_id([job_dispatcher]) Job Load (1.2ms) SELECT "jobs".* FROM "jobs" WHERE "jobs"."state" = $1 AND "jobs"."dispatch_status" = $2 AND "jobs"."target_class" = $3 AND (zone is null or zone = 'default') AND (sync_key is NULL or sync_key not in ( select sync_key from jobs where dispatch_status = 'active' and state != 'finished' and (zone is null or zone = 'default') and sync_key is not NULL)) ORDER BY "jobs"."id" ASC [["state", "waiting_to_start"], ["dispatch_status", "pending"], ["target_class", "ContainerImage"]] [----] D, [2016-10-19T22:08:37.550809 #19710:114f98c] DEBUG -- : Q-task_id([job_dispatcher]) Job Inst Including Associations (0.0ms - 0rows) [----] D, [2016-10-19T22:08:37.553872 #19710:114f98c] DEBUG -- : Q-task_id([job_dispatcher]) Job Load (1.1ms) SELECT "jobs".* FROM "jobs" WHERE "jobs"."state" = $1 AND "jobs"."dispatch_status" = $2 AND "jobs"."target_class" = $3 AND (zone is null or zone = 'default') AND (sync_key is NULL or sync_key not in ( select sync_key from jobs where dispatch_status = 'active' and state != 'finished' and (zone is null or zone = 'default') and sync_key is not NULL)) ORDER BY "jobs"."id" ASC [["state", "waiting_to_start"], ["dispatch_status", "pending"], ["target_class", "VmOrTemplate"]] [----] D, [2016-10-19T22:08:37.554637 #19710:114f98c] DEBUG -- : Q-task_id([job_dispatcher]) Job Inst Including Associations (0.0ms - 0rows) [----] D, [2016-10-19T22:08:37.556730 #19710:114f98c] DEBUG -- : Q-task_id([job_dispatcher]) (0.2ms) BEGIN [----] D, [2016-10-19T22:08:37.559005 #19710:114f98c] DEBUG -- : Q-task_id([job_dispatcher]) SQL (0.6ms) DELETE FROM "miq_queue" WHERE "miq_queue"."id" = $1 AND "miq_queue"."lock_version" = $2 [["id", 1000014568375], ["lock_version", 1]] [----] D, [2016-10-19T22:08:37.561385 #19710:114f98c] DEBUG -- : Q-task_id([job_dispatcher]) (1.8ms) COMMIT [----] D, [2016-10-19T22:08:37.562394 #19710:114f98c] DEBUG -- : (0.4ms) SELECT pg_backend_pid() [----] D, [2016-10-19T22:08:37.564459 #19777:15329c8] DEBUG -- : PostgreSQLAdapter#log_after_checkout, connection_pool: size: 8, connections: 3, in use: 3, waiting_in_queue: 0 [----] I, [2016-10-19T22:08:37.565013 #19777:15329c8] INFO -- : Started POST "/ops/tree_select/?id=tn-1r1" for 127.0.0.1 at 2016-10-19 22:08:37 -0400 [----] I, [2016-10-19T22:08:37.566613 #19777:15329c8] INFO -- : Processing by OpsController#tree_select as JS [----] I, [2016-10-19T22:08:37.566714 #19777:15329c8] INFO -- : Parameters: {"id"=>"tn-1r1"} [----] D, [2016-10-19T22:08:37.572940 #19777:15329c8] DEBUG -- : User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."region" = $1 AND "users"."userid" = $2 LIMIT $3 [["region", 1], ["userid", "admin"], ["LIMIT", 1]] [----] D, [2016-10-19T22:08:37.573919 #19777:15329c8] DEBUG -- : User Inst Including Associations (0.5ms - 1rows) [----] D, [2016-10-19T22:08:37.576238 #19777:15329c8] DEBUG -- : MiqGroup Load (0.2ms) SELECT "miq_groups".* FROM "miq_groups" WHERE "miq_groups"."id" = $1 LIMIT $2 [["id", 1000000000001], ["LIMIT", 1]] [----] D, [2016-10-19T22:08:37.576897 #19777:15329c8] DEBUG -- : MiqGroup Inst Including Associations (0.3ms - 1rows) [----] D, [2016-10-19T22:08:37.578929 #19777:15329c8] DEBUG -- : Tenant Load (0.3ms) SELECT "tenants".* FROM "tenants" WHERE "tenants"."id" = $1 LIMIT $2 [["id", 1000000000001], ["LIMIT", 1]] [----] D, [2016-10-19T22:08:37.579782 #19777:15329c8] DEBUG -- : Tenant Inst Including Associations (0.4ms - 1rows) [----] D, [2016-10-19T22:08:37.590666 #19777:15329c8] DEBUG -- : MiqUserRole Load (0.4ms) SELECT "miq_user_roles".* FROM "miq_user_roles" INNER JOIN "entitlements" ON "miq_user_roles"."id" = "entitlements"."miq_user_role_id" WHERE "entitlements"."miq_group_id" = $1 LIMIT $2 [["miq_group_id", 1000000000001], ["LIMIT", 1]] [----] D, [2016-10-19T22:08:37.591349 #19777:15329c8] DEBUG -- : MiqUserRole Inst Including Associations (0.3ms - 1rows) [----] D, [2016-10-19T22:08:37.594169 #19777:15329c8] DEBUG -- : Tenant Exists (0.6ms) SELECT 1 AS one FROM "tenants" WHERE "tenants"."id" = $1 LIMIT $2 [["id", 1000000000001], ["LIMIT", 1]] [----] D, [2016-10-19T22:08:37.594866 #19777:15329c8] DEBUG -- : CACHE (0.0ms) SELECT "tenants".* FROM "tenants" WHERE "tenants"."id" = $1 LIMIT $2 [["id", 1000000000001], ["LIMIT", 1]] [----] D, [2016-10-19T22:08:37.595331 #19777:15329c8] DEBUG -- : Tenant Inst Including Associations (0.2ms - 1rows) [----] D, [2016-10-19T22:08:37.598985 #19777:15329c8] DEBUG -- : SQL (1.5ms) SELECT "tags"."id" AS t0_r0, "tags"."name" AS t0_r1, "taggings"."id" AS t1_r0, "taggings"."taggable_id" AS t1_r1, "taggings"."tag_id" AS t1_r2, "taggings"."taggable_type" AS t1_r3 FROM "tags" LEFT OUTER JOIN "taggings" ON "taggings"."tag_id" = "tags"."id" WHERE "taggings"."taggable_type" = 'Tenant' AND "taggings"."taggable_id" = 1000000000001 AND ("tags"."name" ILIKE '/managed%') [----] D, [2016-10-19T22:08:37.599311 #19777:15329c8] DEBUG -- : Tag Inst Including Associations (0.0ms - 0rows) [----] D, [2016-10-19T22:08:37.600719 #19777:15329c8] DEBUG -- : Classification Load (0.4ms) SELECT "classifications".* FROM "classifications" WHERE 1=0 [----] D, [2016-10-19T22:08:37.601067 #19777:15329c8] DEBUG -- : Classification Inst Including Associations (0.0ms - 0rows) [----] D, [2016-10-19T22:08:37.610883 #19777:15329c8] DEBUG -- : MiqProductFeature Load (1.1ms) SELECT "miq_product_features".* FROM "miq_product_features" INNER JOIN "miq_roles_features" ON "miq_product_features"."id" = "miq_roles_features"."miq_product_feature_id" WHERE "miq_roles_features"."miq_user_role_id" = $1 [["miq_user_role_id", 1000000000001]] [----] D, [2016-10-19T22:08:37.611479 #19777:15329c8] DEBUG -- : MiqProductFeature Inst Including Associations (0.2ms - 1rows) [----] I, [2016-10-19T22:08:37.617215 #19777:15329c8] INFO -- : Rendered layouts/_flash_msg.html.haml (0.1ms) [----] D, [2016-10-19T22:08:37.620807 #19777:15329c8] DEBUG -- : MiqGroup Load (0.9ms) SELECT "miq_groups".* FROM "miq_groups" WHERE "miq_groups"."tenant_id" = $1 AND ("miq_groups"."group_type" != $2) [["tenant_id", 1000000000001], ["group_type", "tenant"]] [----] D, [2016-10-19T22:08:37.622279 #19777:15329c8] DEBUG -- : MiqGroup Inst Including Associations (1.1ms - 15rows) [----] D, [2016-10-19T22:08:37.629263 #19777:15329c8] DEBUG -- : Tenant Load (0.7ms) SELECT "tenants".* FROM "tenants" WHERE ("tenants"."ancestry" ILIKE '1000000000001/%' OR "tenants"."ancestry" = '1000000000001') AND "tenants"."divisible" = $1 [["divisible", true]] [----] D, [2016-10-19T22:08:37.629794 #19777:15329c8] DEBUG -- : Tenant Inst Including Associations (0.0ms - 0rows) [----] D, [2016-10-19T22:08:37.631306 #19777:15329c8] DEBUG -- : Tenant Load (0.5ms) SELECT "tenants".* FROM "tenants" WHERE ("tenants"."ancestry" ILIKE '1000000000001/%' OR "tenants"."ancestry" = '1000000000001') AND "tenants"."divisible" = $1 [["divisible", false]] [----] D, [2016-10-19T22:08:37.631670 #19777:15329c8] DEBUG -- : Tenant Inst Including Associations (0.0ms - 0rows) [----] D, [2016-10-19T22:08:37.634168 #19777:15329c8] DEBUG -- : TenantQuota Load (0.4ms) SELECT "tenant_quotas".* FROM "tenant_quotas" WHERE "tenant_quotas"."tenant_id" = $1 [["tenant_id", 1000000000001]] [----] D, [2016-10-19T22:08:37.634456 #19777:15329c8] DEBUG -- : TenantQuota Inst Including Associations (0.0ms - 0rows) [----] I, [2016-10-19T22:08:37.634898 #19777:15329c8] INFO -- : Rendered shared/summary/_textual_listview.html.haml (2.8ms) [----] I, [2016-10-19T22:08:37.635392 #19777:15329c8] INFO -- : Rendered ops/_rbac_tag_box.html.haml (0.2ms) [----] I, [2016-10-19T22:08:37.635510 #19777:15329c8] INFO -- : Rendered ops/_rbac_tenant_details.html.haml (18.5ms) [----] I, [2016-10-19T22:08:37.635630 #19777:15329c8] INFO -- : Rendered ops/_rbac_details_tab.html.haml (18.8ms) [----] I, [2016-10-19T22:08:37.635875 #19777:15329c8] INFO -- : Rendered ops/_all_tabs.html.haml (19.5ms) [----] I, [2016-10-19T22:08:37.644542 #19777:15329c8] INFO -- : Completed 200 OK in 78ms (Views: 0.4ms | ActiveRecord: 7.6ms) [----] D, [2016-10-19T22:08:37.648899 #19777:15329c8] DEBUG -- : PostgreSQLAdapter#log_after_checkin, connection_pool: size: 8, connections: 3, in use: 2, waiting_in_queue: 0
Brian, Can you look into this, i looked into it a bit Tenant Add and Project Add button are sharing a common feature "rbac_tenant_add", everything looks correct to me, but for some reason Add Project button does not show up in UI even tho the role_Allows call seems to be checking for the common feature, let me know if we need to discuss. Thanks, ~Harpreet
*** Bug 1390167 has been marked as a duplicate of this bug. ***
*** Bug 1391061 has been marked as a duplicate of this bug. ***
Hi Brian Any progress on this issue ? Regards, Taeho
Currently working on spec tests before I open an upstream PR.
https://github.com/ManageIQ/manageiq/pull/12543
Hi Brain Just checked github information Was wondering if the test has finished to deliver patch to customer Thanks for your help on this Taeho
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/c92cb1ab3932a8bdf65be60e1daf5ff2879c5cf5 commit c92cb1ab3932a8bdf65be60e1daf5ff2879c5cf5 Author: Brian McLaughlin <bmclaugh> AuthorDate: Wed Nov 9 14:49:26 2016 -0500 Commit: Brian McLaughlin <bmclaugh> CommitDate: Mon Nov 14 10:00:42 2016 -0500 Test modified methods possible scenarios https://bugzilla.redhat.com/show_bug.cgi?id=1387088 spec/helpers/application_helper_spec.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+)
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/e31d0465599f6e282bf69b50e56f49c5a277b052 commit e31d0465599f6e282bf69b50e56f49c5a277b052 Author: Brian McLaughlin <bmclaugh> AuthorDate: Wed Nov 9 14:45:44 2016 -0500 Commit: Brian McLaughlin <bmclaugh> CommitDate: Mon Nov 14 10:00:42 2016 -0500 Account for common buttons in role_allows? calls https://bugzilla.redhat.com/show_bug.cgi?id=1387088 app/helpers/application_helper.rb | 2 ++ app/helpers/application_helper/button/basic.rb | 4 ++-- app/helpers/application_helper/toolbar_builder.rb | 6 ++---- 3 files changed, 6 insertions(+), 6 deletions(-)
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/0f37f14b644dc4329f34b17cc81a070fe24baf6b commit 0f37f14b644dc4329f34b17cc81a070fe24baf6b Author: Brian McLaughlin <bmclaugh> AuthorDate: Fri Nov 11 15:05:57 2016 -0500 Commit: Brian McLaughlin <bmclaugh> CommitDate: Mon Nov 14 10:00:42 2016 -0500 Refactoring https://bugzilla.redhat.com/show_bug.cgi?id=1387088 app/helpers/application_helper/button/basic.rb | 4 ++-- app/helpers/application_helper/toolbar/tenant_center.rb | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-)
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/3a5b941414f9a7ffb4e215506dd8427f9ca53ef7 commit 3a5b941414f9a7ffb4e215506dd8427f9ca53ef7 Author: Brian McLaughlin <bmclaugh> AuthorDate: Fri Nov 11 15:28:36 2016 -0500 Commit: Brian McLaughlin <bmclaugh> CommitDate: Mon Nov 14 10:00:42 2016 -0500 Add missed file https://bugzilla.redhat.com/show_bug.cgi?id=1387088 app/helpers/application_helper/button/tenant_add.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 app/helpers/application_helper/button/tenant_add.rb
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/e3d27535dc344111558f508dbf60e6af1e827589 commit e3d27535dc344111558f508dbf60e6af1e827589 Author: Brian McLaughlin <bmclaugh> AuthorDate: Mon Nov 14 10:00:26 2016 -0500 Commit: Brian McLaughlin <bmclaugh> CommitDate: Mon Nov 14 10:00:42 2016 -0500 Additional spec and miq-bot corrections https://bugzilla.redhat.com/show_bug.cgi?id=1387088 .../application_helper/button/tenant_add.rb | 2 +- .../application_helper/buttons/tenant_add_spec.rb | 32 ++++++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 spec/helpers/application_helper/buttons/tenant_add_spec.rb
Verified in 5.8.0.3. I can add child tenant/project.