Bug 1160890
| Summary: | Button triggered automate actions do not work | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Brandon Johnson <brjohnso> | ||||||
| Component: | Automate | Assignee: | Aparna Karve <akarve> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Dave Johnson <dajohnso> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 5.3.0 | CC: | david.costakos, dclarizi, kmorey, mfeifer, sshveta | ||||||
| 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: | |||||||||
| : | 1161265 (view as bug list) | Environment: | |||||||
| Last Closed: | 2015-06-16 12:43:59 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: | |||||||||
| Bug Blocks: | 1161265 | ||||||||
| Attachments: |
|
||||||||
Created attachment 954236 [details]
screen shot from cloud forms
We need to add the routes for "dynamic_list_refresh" to all classes that allow buttons in the vmdb/config/routes.rb This includes: :catalog :ems_cloud :ems_cluster :ems_infra :host :vm_infra :vm_cloud :service :storage :vm :vm_or_template New commit detected on cfme/master: https://github.com/ManageIQ/manageiq/commit/ccff165f6a59c50ab9e3c470a998da45be5c361b commit ccff165f6a59c50ab9e3c470a998da45be5c361b Author: Aparna Karve <akarve> AuthorDate: Thu Nov 6 13:02:45 2014 -0800 Commit: Aparna Karve <akarve> CommitDate: Thu Nov 6 13:02:45 2014 -0800 Added missing route "dynamic_list_refresh" to various controllers https://bugzilla.redhat.com/show_bug.cgi?id=1160890 vmdb/config/routes.rb | 7 +++++++ vmdb/spec/routing/ems_cloud_routing_spec.rb | 6 ++++++ vmdb/spec/routing/ems_cluster_routing_spec.rb | 6 ++++++ vmdb/spec/routing/host_routing_spec.rb | 6 ++++++ vmdb/spec/routing/storage_routing_spec.rb | 6 ++++++ vmdb/spec/routing/vm_cloud_routing_spec.rb | 6 ++++++ vmdb/spec/routing/vm_infra_routing_spec.rb | 6 ++++++ vmdb/spec/routing/vm_or_template_routing_spec.rb | 6 ++++++ 8 files changed, 49 insertions(+) New commit detected on manageiq/master: https://github.com/ManageIQ/manageiq/commit/ccff165f6a59c50ab9e3c470a998da45be5c361b commit ccff165f6a59c50ab9e3c470a998da45be5c361b Author: Aparna Karve <akarve> AuthorDate: Thu Nov 6 13:02:45 2014 -0800 Commit: Aparna Karve <akarve> CommitDate: Thu Nov 6 13:02:45 2014 -0800 Added missing route "dynamic_list_refresh" to various controllers https://bugzilla.redhat.com/show_bug.cgi?id=1160890 vmdb/config/routes.rb | 7 +++++++ vmdb/spec/routing/ems_cloud_routing_spec.rb | 6 ++++++ vmdb/spec/routing/ems_cluster_routing_spec.rb | 6 ++++++ vmdb/spec/routing/host_routing_spec.rb | 6 ++++++ vmdb/spec/routing/storage_routing_spec.rb | 6 ++++++ vmdb/spec/routing/vm_cloud_routing_spec.rb | 6 ++++++ vmdb/spec/routing/vm_infra_routing_spec.rb | 6 ++++++ vmdb/spec/routing/vm_or_template_routing_spec.rb | 6 ++++++ 8 files changed, 49 insertions(+) master.20150219134229_64c0205 upstream_verified Fixed . Verified in 5.4.0.0.11.20150309201930_8b6a235 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 |
Created attachment 954235 [details] ruby trace from production log Description of problem: When attempting to use a button on a VM/Instance a dialog will not display. In the log (if there is a dynamic drop down) the automate method that will populate dynamic drop downs runs. (Attached is the ruby trace from production.log) Version-Release number of selected component (if applicable): CloudForms 5.3 How reproducible: I am able to reproduce this problem on both Infrastructure VMs and Cloud Instances Steps to Reproduce: 1. Create a button that uses a dialog 2. 3. Actual results: displays and error message (screen shot attached) Expected results: display the dialog and able to run the method Additional info: