Bug 1276135
Summary: | undefined method `+' for nil:NilClass [ops/rbac_group_edit] | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Dave Johnson <dajohnso> |
Component: | Automate | Assignee: | Keenan Brock <kbrock> |
Status: | CLOSED ERRATA | QA Contact: | Pavol Kotvan <pakotvan> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 5.5.0 | CC: | cpelland, jhardy, jocarter, mfeifer, mkanoor, obarenbo, pakotvan, simaishi, tcarlin, tfitzger |
Target Milestone: | GA | ||
Target Release: | 5.5.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 5.5.0.11 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-12-08 13:41:48 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Dave Johnson
2015-10-28 20:06:03 UTC
Addressed upstream in https://github.com/ManageIQ/manageiq/pull/5164. Still need to make an MR for the 5.5. Merged, thanks New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=7a32314f457ba93ac0fb2b91470f82118e2d5a18 commit 7a32314f457ba93ac0fb2b91470f82118e2d5a18 Author: Keenan Brock <kbrock> AuthorDate: Fri Oct 30 16:26:43 2015 -0400 Commit: Keenan Brock <kbrock> CommitDate: Thu Nov 5 12:33:37 2015 -0500 migrate miq_groups to assign sequence and guid https://bugzilla.redhat.com/show_bug.cgi?id=1276135 .../20151030201919_fix_miq_group_sequences.rb | 13 ++++++++++ .../20151030201919_fix_miq_group_sequences_spec.rb | 29 ++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 db/migrate/20151030201919_fix_miq_group_sequences.rb create mode 100644 spec/migrations/20151030201919_fix_miq_group_sequences_spec.rb New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=4295f6e83fd6f0eab50b9a5d16202f507e9a0494 commit 4295f6e83fd6f0eab50b9a5d16202f507e9a0494 Author: Keenan Brock <kbrock> AuthorDate: Fri Oct 30 16:56:29 2015 -0400 Commit: Keenan Brock <kbrock> CommitDate: Thu Nov 5 12:33:41 2015 -0500 specs: For group.count, change eq to expect change https://bugzilla.redhat.com/show_bug.cgi?id=1276135 spec/models/miq_group_spec.rb | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=bf7475782b4f8e956164d29461bda0263558db7d commit bf7475782b4f8e956164d29461bda0263558db7d Author: Keenan Brock <kbrock> AuthorDate: Wed Oct 28 11:26:56 2015 -0400 Commit: Keenan Brock <kbrock> CommitDate: Thu Nov 5 12:33:23 2015 -0500 move next sequence calculation into miq_group - fix error around tenant groups with a nil sequence - set sequence by default - set sequence for tenant default_group https://bugzilla.redhat.com/show_bug.cgi?id=1276135 app/controllers/ops_controller/ops_rbac.rb | 2 - app/models/miq_group.rb | 14 ++----- .../20151021174140_assign_tenant_default_group.rb | 2 + spec/factories/miq_group.rb | 2 +- ...51021174140_assign_tenant_default_group_spec.rb | 4 +- spec/models/miq_group_spec.rb | 46 +++++++++++++++++++++- 6 files changed, 53 insertions(+), 17 deletions(-) New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=757f92d1058b430340bcedf97076cea565e3ea8c commit 757f92d1058b430340bcedf97076cea565e3ea8c Merge: 6eb275d 4295f6e Author: Greg McCullough <gmccullo> AuthorDate: Fri Nov 13 08:52:19 2015 -0500 Commit: Greg McCullough <gmccullo> CommitDate: Fri Nov 13 08:52:19 2015 -0500 Merge branch 'group_sequence_rbac_mr' into '5.5.z' Group sequence rbac cleanly cherry picked from master. changed to add BZ comments https://github.com/ManageIQ/manageiq/pull/5164 (with extra edits on PR from @matthewd that landed in capablanca) https://bugzilla.redhat.com/show_bug.cgi?id=1276135 See merge request !369 app/controllers/ops_controller/ops_rbac.rb | 2 - app/models/miq_group.rb | 14 ++---- .../20151021174140_assign_tenant_default_group.rb | 2 + .../20151030201919_fix_miq_group_sequences.rb | 13 +++++ spec/factories/miq_group.rb | 2 +- ...51021174140_assign_tenant_default_group_spec.rb | 4 +- .../20151030201919_fix_miq_group_sequences_spec.rb | 29 +++++++++++ spec/models/miq_group_spec.rb | 57 +++++++++++++++++++--- 8 files changed, 100 insertions(+), 23 deletions(-) Verified against 5.5.0.11. Working as expected, I was able create new groups as super administrator. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2015:2551 |