Bug 1199226
| Summary: | Click on Request shows error : "undefined method `[]' for nil:NilClass [miq_request/show] " | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Harpreet Kataria <hkataria> | ||||
| Component: | UI - OPS | Assignee: | Harpreet Kataria <hkataria> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Milan Falešník <mfalesni> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 5.3.0 | CC: | dajohnso, fdewaley, hkataria, jhardy, jprause, kmorey, mfalesni, mfeifer, mpovolny, ngupta, obarenbo, ptavares, ssainkar, sshveta, xlecauch | ||||
| Target Milestone: | GA | Keywords: | ZStream | ||||
| Target Release: | 5.3.4 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 5.3.4 | Doc Type: | Bug Fix | ||||
| Doc Text: |
A bad IF condition was causing errors on Service Dialog Requests page. This made it unable to view requests.
With this release, the IF condition has been fixed and Service Dialog requests can now be viewed.
|
Story Points: | --- | ||||
| Clone Of: | 1194479 | Environment: | |||||
| Last Closed: | 2015-04-29 13:20:15 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: | 1194479 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Comment 1
CFME Bot
2015-03-05 19:50:58 UTC
Created attachment 1005273 [details]
production-01378693.log
the customer from case#01378693 was previously given the change to apply but new errors are being raised (see attached production-01378693.log
this is being raised whenever the "responsible" user clicks on a link from an email notification that any TAG value has ben exceeded. When the "responsible" click on the link, he can access the request but whenever he click on any of the allow/deny buttons an error happens:
o “Unexpected error encountered”
o Error text:
o undefined method `buttons' for #<ServiceTemplateProvisionRequest:0x0000000b63a870> [miq_request/stamp]
If the responsbile instead of using link on the email, goes directly to the web, the petition is not on the list of "pending approval" because is only listed the requests where he is the petitioner himself.
In the other hand, the petitioner can see the request on the web but whenever he click on any of the allow/deny buttons, the above error appears.
this may be a new bug.
*** Bug 1201775 has been marked as a duplicate of this bug. *** see bz#1205308 for the new issue. New commit detected on manageiq/master: https://github.com/ManageIQ/manageiq/commit/b562f82740a6be55544518f2b19c88a8c511d7eb commit b562f82740a6be55544518f2b19c88a8c511d7eb Author: Harpreet Kataria <hkataria> AuthorDate: Mon Apr 6 10:27:08 2015 -0400 Commit: Harpreet Kataria <hkataria> CommitDate: Mon Apr 6 11:51:45 2015 -0400 Only render x_dialog_buttons if @record respond_to buttons. https://bugzilla.redhat.com/show_bug.cgi?id=1199226 https://bugzilla.redhat.com/show_bug.cgi?id=1194479 vmdb/app/views/shared/dialogs/_dialog_provision.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) *** Bug 1205308 has been marked as a duplicate of this bug. *** New commit detected on cfme/5.3.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=c97c529fc64729d9ea91caf20a5737af0d55b1bc commit c97c529fc64729d9ea91caf20a5737af0d55b1bc Author: Harpreet Kataria <hkataria> AuthorDate: Mon Apr 6 11:51:45 2015 -0400 Commit: Harpreet Kataria <hkataria> CommitDate: Wed Apr 8 12:25:14 2015 -0400 Only render x_dialog_buttons if @record respond_to buttons. https://bugzilla.redhat.com/show_bug.cgi?id=1199226 https://bugzilla.redhat.com/show_bug.cgi?id=1194479 (cherry picked from commit b562f82) vmdb/app/views/shared/dialogs/_dialog_provision.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commit detected on cfme/5.3.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=cd634a4c636b5fb585638e94e182938875eb0489 commit cd634a4c636b5fb585638e94e182938875eb0489 Merge: a58463c c97c529 Author: Dan Clarizio <dclarizi> AuthorDate: Wed Apr 8 12:34:36 2015 -0400 Commit: Dan Clarizio <dclarizi> CommitDate: Wed Apr 8 12:34:36 2015 -0400 Merge branch 'bz_1199226' into '5.3.z' Only render x_dialog_buttons if @record respond_to buttons. https://bugzilla.redhat.com/show_bug.cgi?id=1199226 https://bugzilla.redhat.com/show_bug.cgi?id=1194479 (cherry picked from commit b562f82) @dclarizio please review. This is a straight cherry-pick. See merge request !30 vmdb/app/views/shared/dialogs/_dialog_provision.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commit detected on cfme/5.3.4: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=9a48f650c8abfb5734df0c0c8e6fdfa32e38276a commit 9a48f650c8abfb5734df0c0c8e6fdfa32e38276a Author: Harpreet Kataria <hkataria> AuthorDate: Wed Apr 8 12:25:14 2015 -0400 Commit: Harpreet Kataria <hkataria> CommitDate: Wed Apr 8 16:04:20 2015 -0400 Only render x_dialog_buttons if @record respond_to buttons. https://bugzilla.redhat.com/show_bug.cgi?id=1199226 https://bugzilla.redhat.com/show_bug.cgi?id=1194479 (cherry picked from commit b562f82) (cherry picked from commit c97c529) vmdb/app/views/shared/dialogs/_dialog_provision.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Verified in 5.3.4.2.20150415125246_f5d5c91, the erorr does not appear when entering the request summary page. 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-0890.html |