Bug 1384755 - Ordering catalog item is not working after an update to 5.6.2.1
Summary: Ordering catalog item is not working after an update to 5.6.2.1
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.8.0
Assignee: Harpreet Kataria
QA Contact: Shveta
URL:
Whiteboard: service
: 1382765 (view as bug list)
Depends On:
Blocks: 1385885 1385887
TreeView+ depends on / blocked
 
Reported: 2016-10-14 04:58 UTC by tachoi
Modified: 2019-12-16 07:06 UTC (History)
13 users (show)

Fixed In Version: 5.8.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1385885 1385887 (view as bug list)
Environment:
Last Closed: 2017-06-12 16:05:16 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description tachoi 2016-10-14 04:58:29 UTC
Description of problem:
After customer upgraded to 5.6.2.1, they can't order service from service catalogs view. they can see order button but if they click the order button, nothing is happening.

Version-Release number of selected component (if applicable):
CFME 5.6.2.1

How reproducible:
NA

Steps to Reproduce:
1.
2.
3.

Actual results:
nothing happens

Expected results:
Once customer hit order button, it should go to next form page to fill-up info

Additional info:

Comment 3 Harpreet Kataria 2016-10-14 22:24:31 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

Comment 7 Harpreet Kataria 2016-10-15 03:21:42 UTC
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'

Comment 9 Harpreet Kataria 2016-10-15 05:30:20 UTC
This issue has already been fixed on upstream under https://bugzilla.redhat.com/show_bug.cgi?id=1382765

Comment 10 eclarizi 2016-10-17 18:48:24 UTC

*** This bug has been marked as a duplicate of bug 1382765 ***

Comment 11 Chris Pelland 2016-10-17 20:34:11 UTC
*** Bug 1382765 has been marked as a duplicate of this bug. ***

Comment 14 Harpreet Kataria 2016-10-19 13:48:08 UTC
https://github.com/ManageIQ/manageiq/pull/11773 has been backported

Comment 15 Shveta 2017-05-09 18:50:59 UTC
Tested after upgrading from 5.7 to 5.8.
Works fine.
Verified in 5.8.0.13-rc2.20170502165848_0f98658


Note You need to log in before you can comment on or make changes to this bug.