Bug 1321600
| Summary: | Tag Control issues on service dialogue imports between appliances | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | John Prause <jprause> |
| Component: | Control | Assignee: | eclarizi |
| Status: | CLOSED ERRATA | QA Contact: | Shveta <sshveta> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.5.0 | CC: | carnott, cpelland, dajohnso, eclarizi, jhardy, mfeifer, obarenbo, ssainkar |
| Target Milestone: | GA | Keywords: | ZStream |
| Target Release: | 5.5.5 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | service:dialog | ||
| Fixed In Version: | 5.5.5.0 | Doc Type: | Bug Fix |
| Doc Text: |
In the previous version of CloudForms, exported service dialogues with tag control items had the tag category_id statically assigned, and could have therefore lost their relationship to the tag imported into another appliance if the ID did not match exactly. As a result, there were tag control issues on service dialogue imports between appliances.
This update ensures that old import files without a category name will still import. Besides, it also exports category name/description so that imports can utilize them.
|
Story Points: | --- |
| Clone Of: | 1319952 | Environment: | |
| Last Closed: | 2016-07-26 15:31:49 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: | |||
| Bug Depends On: | 1319952, 1322830 | ||
| Bug Blocks: | |||
|
Comment 1
John Prause
2016-03-31 12:19:37 UTC
New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=95f5c67d4228c6f2b9bfd75cad555af94bdaac81 commit 95f5c67d4228c6f2b9bfd75cad555af94bdaac81 Author: Erik Clarizio <eclarizi> AuthorDate: Mon May 2 07:46:27 2016 -0700 Commit: Erik Clarizio <eclarizi> CommitDate: Mon Jun 13 09:44:33 2016 -0700 Ensure that old import files without a category name will still import https://github.com/ManageIQ/manageiq/issues/7449 https://bugzilla.redhat.com/show_bug.cgi?id=1321600 app/models/dialog_field_importer.rb | 19 ++++++--- spec/models/dialog_field_importer_spec.rb | 66 ++++++++++++++++++------------- 2 files changed, 53 insertions(+), 32 deletions(-) New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=3979461cb363c01964905c30ddeb52bd19b2b325 commit 3979461cb363c01964905c30ddeb52bd19b2b325 Author: Erik Clarizio <eclarizi> AuthorDate: Tue Mar 29 07:43:14 2016 -0700 Commit: Erik Clarizio <eclarizi> CommitDate: Mon Jun 13 09:44:23 2016 -0700 Export category name/description so that imports can utilize them https://github.com/ManageIQ/manageiq/issues/7449 https://bugzilla.redhat.com/show_bug.cgi?id=1321600 app/models/dialog_field_importer.rb | 7 ++++ app/models/dialog_field_serializer.rb | 5 +++ spec/models/dialog_field_importer_spec.rb | 51 ++++++++++++++++++++++++++++- spec/models/dialog_field_serializer_spec.rb | 32 ++++++++++++++++-- 4 files changed, 92 insertions(+), 3 deletions(-) New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=8269067afd998458de93c9bcbb8f7c5769f300ba commit 8269067afd998458de93c9bcbb8f7c5769f300ba Merge: 643ed48 95f5c67 Author: Greg McCullough <gmccullo> AuthorDate: Mon Jun 13 13:54:55 2016 -0400 Commit: Greg McCullough <gmccullo> CommitDate: Mon Jun 13 13:54:55 2016 -0400 Merge branch 'MR-for-PR7574' into '5.5.z' Fix for Tag Control issues on service dialog imports between appliances This is the 5.5.z backport for https://bugzilla.redhat.com/show_bug.cgi?id=1319952. https://bugzilla.redhat.com/show_bug.cgi?id=1321600 Cherry-picked from https://github.com/ManageIQ/manageiq/pull/7574 Cherry-pick was completely clean. See merge request !962 app/models/dialog_field_importer.rb | 16 ++++++++ app/models/dialog_field_serializer.rb | 5 +++ spec/models/dialog_field_importer_spec.rb | 63 ++++++++++++++++++++++++++++- spec/models/dialog_field_serializer_spec.rb | 32 ++++++++++++++- 4 files changed, 113 insertions(+), 3 deletions(-) Created a tag category with same name and description on two appliances. Both got different category Id as shown below.
options:
:category_id: '124'
:force_single_value: true
:sort_by: :description
:sort_order: :ascending
:category_name: shveta_tag
:category_description: sstag
options:
:category_id: '145'
:force_single_value: true
:sort_by: :description
:sort_order: :ascending
:category_name: shveta_tag
:category_description: sstag
Export dialog from one to other appliance. Imported successfully with correct tag category.
Verified in 5.5.5.0.20160628144838_629f93b
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://rhn.redhat.com/errata/RHBA-2016-1488.html |