Testing 4.2b1 (5.7.0.7-beta1), and running CloudForms_Essentials code such as : @user.current_group.filters['managed'].flatten.each fails; this seems intentional, as filters have moved to Entitlements. Conversation on slack suggests that current_group (MiqAeServiceMiqGroup) does not have .entitlement(s) as a relationship. From rails console: irb(main):043:0> vm.owner.current_group.entitlement PostgreSQLAdapter#log_after_checkout......in use: 0, waiting_in_queue: 0 undefined method `entitlement' for #<MiqAeMethodService::MiqAeServiceMiqGroup:0x0000000d093b90>
https://github.com/ManageIQ/manageiq/pull/12421
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/5e9e3af787c603ffb05a974db0b4f65663393485 commit 5e9e3af787c603ffb05a974db0b4f65663393485 Author: Lucy Fu <lufu> AuthorDate: Thu Nov 3 14:59:34 2016 -0400 Commit: Lucy Fu <lufu> CommitDate: Thu Nov 3 14:59:34 2016 -0400 Expose a group's filters in automate. https://bugzilla.redhat.com/show_bug.cgi?id=1390678 lib/miq_automation_engine/service_models/miq_ae_service_miq_group.rb | 1 + 1 file changed, 1 insertion(+)
Verified in 5.8.0.7: irb(main):012:0> $evm.vmdb(:MiqGroup).find_by_description('mygrp').filters => {"managed"=>[["/managed/location/chicago", "/managed/location/london", "/managed/location/ny", "/managed/location/paris"]], "belongsto"=>["/belongsto/ExtManagementSystem|RHEV2"]}