Bug 1697897 - Service Request created from service Generic Provisioning v1.2 Zone is throwing exception.
Summary: Service Request created from service Generic Provisioning v1.2 Zone is throwi...
Keywords:
Status: CLOSED DUPLICATE of bug 1696697
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.9.9
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.10.6
Assignee: Harpreet Kataria
QA Contact: Niyaz Akhtar Ansari
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks: 1704905
TreeView+ depends on / blocked
 
Reported: 2019-04-09 09:20 UTC by Khushbu Borole
Modified: 2019-06-10 14:06 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-10 14:06:53 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Khushbu Borole 2019-04-09 09:20:55 UTC
Description of problem:

Error faced :

Error caught: [ActionView::Template::Error] undefined method `[]' for nil:NilClass

We have checked it via API and it is giving the provided result :

https://<cloudforms ip>/api/requests/96000000001751 <=== this is the request ID of Generic Provisioning v1.2 Zone Binding Service.

We have verified from rails console and there is provided entry in the database :

irb(main):003:0> req = MiqRequest.find_by_id('96000000001751')
=> #<ServiceTemplateProvisionRequest id: 96000000001751, description: "Provisioning Service [Generic VM Provisioning v1.2...", approval_state: "approved", type: "ServiceTemplateProvisionRequest", created_on: "2019-04-09 07:36:28", updated_on: "2019-04-09 07:45:54", fulfilled_on: "2019-04-09 07:45:54...>

irb(main):006:0> req.provision_dialog
=> {"description"=>"Generic VM Provisioning v1.2", "buttons"=>"submit,cancel", "label"=>"VM Generic Provisioning v1.2", "dialog_tabs"=>[{"description"=>"", "display"=>nil, "label"=>"General", "display_method"=>nil, "display_method_options"=>nil, "position"=>0, "dialog_groups"=>[{"description"=>nil, ...}

Version-Release number of selected component (if applicable):
Red Hat CloudForms 4.6

How reproducible:
Always

Actual results:
It is a pure UI Bug as we have seen the data is intact via API and in the database.


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