Bug 1594010

Summary: API is not passing value from drop down list
Product: Red Hat CloudForms Management Engine Reporter: Saif Ali <saali>
Component: APIAssignee: drew uhlmann <duhlmann>
Status: CLOSED CURRENTRELEASE QA Contact: Parthvi Vala <pvala>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.9.0CC: cpelland, duhlmann, jcheal, jprause, mfeifer, myoder, obarenbo, pvala, saali
Target Milestone: GA   
Target Release: 5.9.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-26 13:44:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1595269, 1622587    

Description Saif Ali 2018-06-21 20:53:31 UTC
Description of problem:
If we submit provisioning request from API and one of the parameter has dropdown list the value is not passed to the provisioning request.


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 8 drew uhlmann 2018-10-16 17:30:23 UTC
Hey Saif, I was trying to set this up, but the automate code that's attached to this ticket doesn't include the method your dialog in question appears to be running. There is no get_pong automate method attached to this ticket. Without the code, I can't do much of anything.

Comment 9 drew uhlmann 2018-10-17 15:44:06 UTC
begin
  ###############
  # Start Method
  ###############
  log(:info, "CloudForms Automate Method Started", true)
  dump_root()

  $evm.object["value"]        = "pong"

  ###############
  # Exit Method
  ###############
  log(:info, "CloudForms Automate Method Ended", true)
  exit MIQ_OK

  # Set Ruby rescue behavior
rescue => err
  log(:error, "#{err.class} #{err}")
  log(:error, "#{err.backtrace.join("\n")}")
  exit MIQ_ABORT
end

If that's in fact the method in question, I'm not sure which part is supposed to be setting the required flag, which comment 6 seems to mention. The reproducer dialog, the simple one, also doesn't have a dropdown on it, which comment 6 seems to say it does. I'm confused by this ticket.

Comment 12 drew uhlmann 2018-10-22 12:33:09 UTC
Has there been any update from the customer about this?

Comment 15 drew uhlmann 2018-10-23 14:31:05 UTC
Based on the ticket information, build 5.9.5.2 should have the code changes mentioned by comment 14 (https://bugzilla.redhat.com/show_bug.cgi?id=1639413).

Comment 18 drew uhlmann 2018-10-30 11:51:40 UTC
Hey John, like we've talked about previously, this ticket's waiting on the customer since we provided them information about a possible fix.

Comment 21 drew uhlmann 2018-11-06 18:41:08 UTC
Hey Michael, the customer hasn't gotten back at all about this issue, can you please advise as to what I should do with this ticket? 

Thanks,
Drew

Comment 23 drew uhlmann 2018-11-09 15:15:03 UTC
5.9.5.3 should have the mentioned change. Could you please let me know what the status of this ticket with that fix that was talked about in comment 14 is?

Comment 26 drew uhlmann 2018-11-26 13:44:01 UTC
I'm closing this because I think it should be resolved and I haven't heard anything to the contrary for weeks. If anyone thinks it's still an issue, please reopen. Thank you!