Description of problem:
[----] I, [2016-09-18T20:52:26.122863 #13596:10b0ea4] INFO -- : <AutomationEngine> <AEMethod servicetemplateprovisionrequest_pending> [undefined method `+' for nil:NilClass]
<code: body += "<a href='https://#{appliance}/miq_request/show/#{@miq_request.id}'>">:57:in `requester_href'
<code: body += requester_href(appliance)>:66:in `requester_text'
<code: send_mail(to, from, subject, requester_text(appliance))>:78:in `email_requester'
<code: email_requester(appliance)>:92:in `<main>'
Version-Release number of selected component (if applicable):
4.1.1
How reproducible:
Always
Steps to Reproduce:
1. Trigger the automate method
2.
3.
Actual results:
Traceback because of:
def requester_href(appliance)
body += "<a href='https://#{appliance}/miq_request/show/#{@miq_request.id}'>"
^^^^^^^^
body += "https://#{appliance}/miq_request/show/#{@miq_request.id}</a>"
body
end
Expected results:
No traceback
Additional info:
Comment 2William Fitzgerald
2016-09-19 22:18:50 UTC
Tsai,
Can I get access to your appliance?
Thanks
Billy
Comment 5William Fitzgerald
2016-10-10 15:24:50 UTC
Verified in 5.8.0.12.
I did these steps:
1) I enabled notifier role on my appliance and configured the smtp server (removing the login auth to none is enough)
2) I added my e-mail address into the admin user account
3) I created a dummy dialog
4) I created an additional domain in Automate
5) I copied ManageIQ/Service/Provisioning/StateMachines/ServiceProvisionRequestApproval/Default into the new domain and changed the auto to manual in it.
6) I created a generic service using the dummy dialog. I left all other fields intact
7) I initiated provisioning of the service.
8) I got an e-mail that it was not auto-approved
9) I tried both approval and disapproval and I received an appropriate e-mail upon making the decision.
Therefore, this bug is VERIFIED.