Error durring miq quota check

When a user creates a provision request and that user does not have an email address the miq_provision_quota_mixin.rb scripts errors out at line 255 with the error which is below. This causes any subsequent request from any user to stay in a pending state until the quota service is restarted and the pending systems deleted. I do not believe this is expected behavior as this brings down the whole system. Please let me know if there is a patch for this. We are on the hammer 7 version.

[----] E, [2019-08-19T14:17:29.790860 #17283:8d64824] ERROR – : Q-task_id([r1000000002699_service_template_provision_request_1000000002699]) /var/www/miq/vmdb/app/models/mixins/miq_provision_quota_mixin.rb:255:in casecmp' [----] E, [2019-08-19T14:17:29.793078 #17283:99cce40] ERROR -- : Q-task_id([r1000000002699_service_template_provision_request_1000000002699]) <AEMethod used> The following error occurred during method evaluation: [----] E, [2019-08-19T14:17:29.793416 #17283:99cce40] ERROR -- : Q-task_id([r1000000002699_service_template_provision_request_1000000002699]) <AEMethod used> TypeError: no implicit conversion of nil into String [----] E, [2019-08-19T14:17:29.794324 #17283:99cce40] ERROR -- : Q-task_id([r1000000002699_service_template_provision_request_1000000002699]) <AEMethod used> (drbunix:///tmp/automation_engine20190819-17283-15xh7nr) /var/www/miq/vmdb/app/models/mixins/miq_provision_quota_mixin.rb:255:incasecmp’
[----] E, [2019-08-19T14:17:29.797278 #17283:99cce40] ERROR – : Q-task_id([r1000000002699_service_template_provision_request_1000000002699]) Method STDERR: (drbunix:///tmp/automation_engine20190819-17283-15xh7nr) /var/www/miq/vmdb/app/models/mixins/miq_provision_quota_mixin.rb:255:in casecmp': no implicit conversion of nil into String (TypeError) [----] E, [2019-08-19T14:17:29.797565 #17283:99cce40] ERROR -- : Q-task_id([r1000000002699_service_template_provision_request_1000000002699]) Method STDERR: from (drbunix:///tmp/automation_engine20190819-17283-15xh7nr) /var/www/miq/vmdb/app/models/mixins/miq_provision_quota_mixin.rb:255:inblock in quota_find_active_prov_request_by_owner’
[----] E, [2019-08-19T14:17:29.797803 #17283:99cce40] ERROR – : Q-task_id([r1000000002699_service_template_provision_request_1000000002699]) Method STDERR: from (drbunix:///tmp/automation_engine20190819-17283-15xh7nr) /usr/local/lib/ruby/gems/2.4.0/gems/activerecord-5.0.7.2/lib/active_record/relation/delegation.rb:38:in each' [----] E, [2019-08-19T14:17:29.798086 #17283:99cce40] ERROR -- : Q-task_id([r1000000002699_service_template_provision_request_1000000002699]) Method STDERR: from (drbunix:///tmp/automation_engine20190819-17283-15xh7nr) /usr/local/lib/ruby/gems/2.4.0/gems/activerecord-5.0.7.2/lib/active_record/relation/delegation.rb:38:ineach’
[----] E, [2019-08-19T14:17:29.798338 #17283:99cce40] ERROR – : Q-task_id([r1000000002699_service_template_provision_request_1000000002699]) Method STDERR: from (drbunix:///tmp/automation_engine20190819-17283-15xh7nr) /usr/local/lib/ruby/gems/2.4.0/gems/activerecord-5.0.7.2/lib/active_record/relation/query_methods.rb:272:in select' [----] E, [2019-08-19T14:17:29.798585 #17283:99cce40] ERROR -- : Q-task_id([r1000000002699_service_template_provision_request_1000000002699]) Method STDERR: from (drbunix:///tmp/automation_engine20190819-17283-15xh7nr) /usr/local/lib/ruby/gems/2.4.0/gems/activerecord-5.0.7.2/lib/active_record/relation/query_methods.rb:272:inselect’
[----] E, [2019-08-19T14:17:29.798812 #17283:99cce40] ERROR – : Q-task_id([r1000000002699_service_template_provision_request_1000000002699]) Method STDERR: from (drbunix:///tmp/automation_engine20190819-17283-15xh7nr) /var/www/miq/vmdb/lib/extensions/ar_virtual.rb:754:in select' [----] E, [2019-08-19T14:17:29.799085 #17283:99cce40] ERROR -- : Q-task_id([r1000000002699_service_template_provision_request_1000000002699]) Method STDERR: from (drbunix:///tmp/automation_engine20190819-17283-15xh7nr) /var/www/miq/vmdb/app/models/mixins/miq_provision_quota_mixin.rb:255:inquota_find_active_prov_request_by_owner’
[----] E, [2019-08-19T14:17:29.799344 #17283:99cce40] ERROR – : Q-task_id([r1000000002699_service_template_provision_request_1000000002699]) Method STDERR: from (drbunix:///tmp/automation_engine20190819-17283-15xh7nr) /var/www/miq/vmdb/app/models/mixins/miq_provision_quota_mixin.rb:341:in quota_provision_stats' [----] E, [2019-08-19T14:17:29.799605 #17283:99cce40] ERROR -- : Q-task_id([r1000000002699_service_template_provision_request_1000000002699]) Method STDERR: from (drbunix:///tmp/automation_engine20190819-17283-15xh7nr) /var/www/miq/vmdb/app/models/mixins/miq_provision_quota_mixin.rb:80:inquota_active_provisions_by_owner’
[----] E, [2019-08-19T14:17:29.799837 #17283:99cce40] ERROR – : Q-task_id([r1000000002699_service_template_provision_request_1000000002699]) Method STDERR: from (drbunix:///tmp/automation_engine20190819-17283-15xh7nr) /var/www/miq/vmdb/app/models/mixins/miq_provision_quota_mixin.rb:12:in check_quota' [----] E, [2019-08-19T14:17:29.800070 #17283:99cce40] ERROR -- : Q-task_id([r1000000002699_service_template_provision_request_1000000002699]) Method STDERR: from (drbunix:///tmp/automation_engine20190819-17283-15xh7nr) /usr/local/lib/ruby/gems/2.4.0/bundler/gems/manageiq-automation_engine-031f7595dae2/lib/miq_automation_engine/engine/miq_ae_method_service/miq_ae_service_model_base.rb:314:inpublic_send’
[----] E, [2019-08-19T14:17:29.800316 #17283:99cce40] ERROR – : Q-task_id([r1000000002699_service_template_provision_request_1000000002699]) Method STDERR: from (drbunix:///tmp/automation_engine20190819-17283-15xh7nr) /usr/local/lib/ruby/gems/2.4.0/bundler/gems/manageiq-automation_engine-031f7595dae2/lib/miq_automation_engine/engine/miq_ae_method_service/miq_ae_service_model_base.rb:314:in block in object_send' [----] E, [2019-08-19T14:17:29.800600 #17283:99cce40] ERROR -- : Q-task_id([r1000000002699_service_template_provision_request_1000000002699]) Method STDERR: from (drbunix:///tmp/automation_engine20190819-17283-15xh7nr) /usr/local/lib/ruby/gems/2.4.0/bundler/gems/manageiq-automation_engine-031f7595dae2/lib/miq_automation_engine/engine/miq_ae_method_service/miq_ae_service_model_base.rb:333:inar_method’
[----] E, [2019-08-19T14:17:29.800825 #17283:99cce40] ERROR – : Q-task_id([r1000000002699_service_template_provision_request_1000000002699]) Method STDERR: from (drbunix:///tmp/automation_engine20190819-17283-15xh7nr) /usr/local/lib/ruby/gems/2.4.0/bundler/gems/manageiq-automation_engine-031f7595dae2/lib/miq_automation_engine/engine/miq_ae_method_service/miq_ae_service_model_base.rb:343:in ar_method' [----] E, [2019-08-19T14:17:29.801052 #17283:99cce40] ERROR -- : Q-task_id([r1000000002699_service_template_provision_request_1000000002699]) Method STDERR: from (drbunix:///tmp/automation_engine20190819-17283-15xh7nr) /usr/local/lib/ruby/gems/2.4.0/bundler/gems/manageiq-automation_engine-031f7595dae2/lib/miq_automation_engine/engine/miq_ae_method_service/miq_ae_service_model_base.rb:312:inobject_send’
[----] E, [2019-08-19T14:17:29.801284 #17283:99cce40] ERROR – : Q-task_id([r1000000002699_service_template_provision_request_1000000002699]) Method STDERR: from (drbunix:///tmp/automation_engine20190819-17283-15xh7nr) /usr/local/lib/ruby/gems/2.4.0/bundler/gems/manageiq-automation_engine-031f7595dae2/lib/miq_automation_engine/service_models/mixins/miq_ae_service_miq_provision_mixin.rb:42:in check_quota' [----] E, [2019-08-19T14:17:29.801571 #17283:99cce40] ERROR -- : Q-task_id([r1000000002699_service_template_provision_request_1000000002699]) Method STDERR: from (drbunix:///tmp/automation_engine20190819-17283-15xh7nr) /usr/local/lib/ruby/2.4.0/drb/drb.rb:1624:inperform_without_block’
[----] E, [2019-08-19T14:17:29.801846 #17283:99cce40] ERROR – : Q-task_id([r1000000002699_service_template_provision_request_1000000002699]) Method STDERR: from (drbunix:///tmp/automation_engine20190819-17283-15xh7nr) /usr/local/lib/ruby/2.4.0/drb/drb.rb:1584:in perform' [----] E, [2019-08-19T14:17:29.802073 #17283:99cce40] ERROR -- : Q-task_id([r1000000002699_service_template_provision_request_1000000002699]) Method STDERR: from (drbunix:///tmp/automation_engine20190819-17283-15xh7nr) /usr/local/lib/ruby/2.4.0/drb/drb.rb:1668:inblock (2 levels) in main_loop’
[----] E, [2019-08-19T14:17:29.802305 #17283:99cce40] ERROR – : Q-task_id([r1000000002699_service_template_provision_request_1000000002699]) Method STDERR: from (drbunix:///tmp/automation_engine20190819-17283-15xh7nr) /usr/local/lib/ruby/2.4.0/drb/drb.rb:1664:in loop' [----] E, [2019-08-19T14:17:29.802588 #17283:99cce40] ERROR -- : Q-task_id([r1000000002699_service_template_provision_request_1000000002699]) Method STDERR: from (drbunix:///tmp/automation_engine20190819-17283-15xh7nr) /usr/local/lib/ruby/2.4.0/drb/drb.rb:1664:inblock in main_loop’
[----] E, [2019-08-19T14:17:29.802829 #17283:99cce40] ERROR – : Q-task_id([r1000000002699_service_template_provision_request_1000000002699]) Method STDERR: from /Broadcom/System/CommonMethods/QuotaMethods/used:70:in active_provision_counts' [----] E, [2019-08-19T14:17:29.803053 #17283:99cce40] ERROR -- : Q-task_id([r1000000002699_service_template_provision_request_1000000002699]) Method STDERR: from /Broadcom/System/CommonMethods/QuotaMethods/used:31:inused’
[----] E, [2019-08-19T14:17:29.803287 #17283:99cce40] ERROR – : Q-task_id([r1000000002699_service_template_provision_request_1000000002699]) Method STDERR: from /Broadcom/System/CommonMethods/QuotaMethods/used:18:in main' [----] E, [2019-08-19T14:17:29.803531 #17283:99cce40] ERROR -- : Q-task_id([r1000000002699_service_template_provision_request_1000000002699]) Method STDERR: from /Broadcom/System/CommonMethods/QuotaMethods/used:89:in
[----] I, [2019-08-19T14:17:29.831840 #17283:f2cf4c] INFO – : Q-task_id([r1000000002699_service_template_provision_request_1000000002699]) <AEMethod [/Broadcom/System/CommonMethods/QuotaMethods/used]> Ending
[----