Bug 1211494

Summary: "Error during 'Provisioning': undefined method `match' for nil:NilClass" on orchestration service order
Product: Red Hat CloudForms Management Engine Reporter: Aziza Karol <akarol>
Component: ProvisioningAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED DUPLICATE QA Contact: Dave Johnson <dajohnso>
Severity: medium Docs Contact:
Priority: high    
Version: 5.4.0CC: akarol, drieden, gmccullo, hkataria, jhardy, mpovolny, obarenbo
Target Milestone: GA   
Target Release: 5.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-17 06:08:38 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:
Attachments:
Description Flags
err none

Description Aziza Karol 2015-04-14 07:17:28 UTC
Created attachment 1014180 [details]
err

Description of problem:


Version-Release number of selected component (if applicable):
5.4.0.0.19.20150410165622_ad23806 

How reproducible:
100%

Steps to Reproduce:
1. Create a catalog item of type orchestration and click on order
2. Just click on submit (do not add any details).
3. 
Actual results:
Error during 'Provisioning': undefined method `match' for nil:NilClass displayed on UI. see attached screenshot

Expected results:


Additional info:
evm.log:
[----] I, [2015-04-14T02:59:34.123980 #2046:4d9ea0]  INFO -- : MIQ(MiqServer.heartbeat) Heartbeat [2015-04-14 06:59:34 UTC]...Complete
[----] I, [2015-04-14T02:59:34.134356 #2046:4d9ea0]  INFO -- : MIQ(MiqServer.populate_queue_messages) Fetched 1 miq_queue rows for queue_name=ems_1, wcount=5, priority=200
[----] E, [2015-04-14T02:59:38.658802 #2309:47fea0] ERROR -- : MIQ(catalog_controller-dialog_form_button_pressed): Error during 'Provisioning': undefined method `match' for nil:NilClass
[----] I, [2015-04-14T02:59:39.020721 #2305:d1feac]  INFO -- : MIQ(ScheduleWorker.do_work) Number of scheduled items to be processed: 6.
[----] I, [2015-04-14T02:59:39.091274 #2305:d1feac]  INFO -- : MIQ(MiqQueue.put)        Message id: [39539],  id: [], Zone: [default], Role: [], Server: [77f583fa-e0cf-11e4-a26f-fa163e49ce88], Ident: [generic], Target id: [], Instance id: [], Task id: [], Command: [MiqDbConfig.log_statistics], Timeout: [600], Priority: [90], S

Comment 2 Greg McCullough 2015-04-14 15:46:37 UTC
Can you please provide the orchestration template you are using to create this issue?

Was the dialog modified after creation?  I am guessing not but would be good to verify.

Bill - My guess here is the dialog is passing a nil because nothing was entered into the field and if that is the case we can work with eclarizi on this issue but would be good to do some validation first.

Comment 4 Bill Wei 2015-04-16 19:43:05 UTC
Milan,

This has been resolved by your recent change in DialogFieldTextBox#validate method when the value is nil. Please provide your commit link and close this bug.

Comment 5 Milan Zázrivec 2015-04-17 06:08:38 UTC
manageiq.git master: 2b44e891e05c13b4cb819c5a9e3e016c7dfb3013

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