Bug 1146178
Summary: | Can not run reports based on Cloud Provider child models that reference parent fields | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Dan Clarizio <dclarizi> | ||||||||||||||
Component: | Appliance | Assignee: | Jason Frey <jfrey> | ||||||||||||||
Status: | CLOSED ERRATA | QA Contact: | Nandini Chandra <nachandr> | ||||||||||||||
Severity: | high | Docs Contact: | |||||||||||||||
Priority: | medium | ||||||||||||||||
Version: | 5.3.0 | CC: | bilwei, jfrey, lufu, nachandr, obarenbo, xlecauch | ||||||||||||||
Target Milestone: | GA | ||||||||||||||||
Target Release: | 5.4.0 | ||||||||||||||||
Hardware: | Unspecified | ||||||||||||||||
OS: | Unspecified | ||||||||||||||||
Whiteboard: | |||||||||||||||||
Fixed In Version: | 5.4.0.0.11 | Doc Type: | Bug Fix | ||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||
Clone Of: | Environment: | ||||||||||||||||
Last Closed: | 2015-06-16 12:40:14 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: | |||||||||||||||||
Attachments: |
|
Description
Dan Clarizio
2014-09-24 16:45:04 UTC
I've made this bug public so I can share on talk.manageiq.org. New commit detected on manageiq/master: https://github.com/ManageIQ/manageiq/commit/7c67212b7c181aae08967b1e2704dfd61960dd2e commit 7c67212b7c181aae08967b1e2704dfd61960dd2e Author: Bill Wei <bilwei> AuthorDate: Fri Feb 6 15:48:26 2015 -0500 Commit: Bill Wei <bilwei> CommitDate: Sat Feb 14 17:15:14 2015 -0500 Distinguish class path and association path https://bugzilla.redhat.com/show_bug.cgi?id=1146178 vmdb/app/models/miq_expression.rb | 49 ++++++++++++---------- vmdb/config/locales/en.yml | 1 + .../models/miq_expression/model_details_spec.rb | 31 ++++++++++---- 3 files changed, 52 insertions(+), 29 deletions(-) Created attachment 998533 [details]
Adding a new report
Selection "Provider Name" is more specific when add a new report
Created attachment 998536 [details]
editing an existing report
When edit the same report, the selection "Cloud Provider Name" becomes more generic "Cloud/Infrastructure Provider Name"
I meant selection "Cloud Provider: Name" (In reply to Bill Wei from comment #6) > Created attachment 998533 [details] > Adding a new report > > Selection "Provider Name" is more specific when add a new report Created attachment 998538 [details]
Report result
The report runs successfully, with correct column name "Cloud Provider Name"
Created attachment 998540 [details]
Define an advance search
Similar problem with advance search. When define an advanced search, the selection "Cloud Provider: Name"
Created attachment 998541 [details]
After advance search is defined
After advance search is defined, the selection shows as "Cloud/Infrastructure Provider: Name"
With the fix, the report runs correctly without an issue. There are some minor UI displaying issues. Attachments were created above. Verified in 5.4.0.0.11 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-2015-1100.html |