Bug 1384755
Summary: | Ordering catalog item is not working after an update to 5.6.2.1 | |||
---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | tachoi | |
Component: | UI - OPS | Assignee: | Harpreet Kataria <hkataria> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Shveta <sshveta> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 5.6.0 | CC: | benglish, bhelgeso, cpelland, dclarizi, eclarizi, gmccullo, hkataria, jhardy, mpovolny, myoder, obarenbo, simaishi, tachoi | |
Target Milestone: | GA | Keywords: | Reopened, TestOnly | |
Target Release: | 5.8.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | service | |||
Fixed In Version: | 5.8.0.0 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1385885 1385887 (view as bug list) | Environment: | ||
Last Closed: | 2017-06-12 16:05:16 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: | 1385885, 1385887 |
Description
tachoi
2016-10-14 04:58:29 UTC
This issue cannot be recreated locally, can you please provide an access to your appliance where this issue can be recreated, additionally please upload your log files for further troubleshooting. Thanks, ~Harpreet Error in production.log, throwing an error in models when Order button is pressed: [----] I, [2016-10-13T21:06:05.090129 #3254:9395e0] INFO -- : Processing by CatalogController#x_button as JS [----] I, [2016-10-13T21:06:05.090197 #3254:9395e0] INFO -- : Parameters: {"pressed"=>"svc_catalog_provision", "id"=>"1000000000010"} [----] F, [2016-10-13T21:06:05.143361 #3254:9395e0] FATAL -- : Error caught: [NoMethodError] undefined method `first' for nil:NilClass /var/www/miq/vmdb/app/models/dialog_field_sorted_item.rb:81:in `raw_values' /var/www/miq/vmdb/app/models/dialog_field_sorted_item.rb:62:in `trigger_automate_value_updates' /var/www/miq/vmdb/app/models/dialog_field_sorted_item.rb:42:in `get_default_value' /var/www/miq/vmdb/app/models/dialog_field_tag_control.rb:3:in `initialize_with_values' /var/www/miq/vmdb/app/models/dialog.rb:84:in `block in init_fields_with_values' /var/www/miq/vmdb/app/models/dialog.rb:84:in `each' /var/www/miq/vmdb/app/models/dialog.rb:84:in `init_fields_with_values' /var/www/miq/vmdb/app/models/resource_action_workflow.rb:107:in `load_dialog' /var/www/miq/vmdb/app/models/resource_action_workflow.rb:12:in `initialize' /var/www/miq/vmdb/app/controllers/application_controller/dialog_runner.rb:168:in `new' /var/www/miq/vmdb/app/controllers/application_controller/dialog_runner.rb:168:in `dialog_initialize' /var/www/miq/vmdb/app/controllers/catalog_controller.rb:573:in `svc_catalog_provision' /var/www/miq/vmdb/app/controllers/catalog_controller.rb:62:in `x_button' This issue has already been fixed on upstream under https://bugzilla.redhat.com/show_bug.cgi?id=1382765 *** This bug has been marked as a duplicate of bug 1382765 *** *** Bug 1382765 has been marked as a duplicate of this bug. *** https://github.com/ManageIQ/manageiq/pull/11773 has been backported Tested after upgrading from 5.7 to 5.8. Works fine. Verified in 5.8.0.13-rc2.20170502165848_0f98658 |