Actions
Bug #27303
closedVM edit fails as 'NoMethodError in Hosts#edit'
Difficulty:
Triaged:
No
Description
VM edit fails as 'NoMethodError in Hosts#edit'
Steps:
Hosts => Click on host => Edit
Traceback:
NoMethodError in Hosts#edit Showing /home/rootazure/foreman_azure_rm/app/views/compute_resources_vms/form/azurerm/_base.html.erb where line #87 raised: undefined method `location' for #<ForemanAzureRM::AzureRMCompute:0x007f3106659210> Extracted source (around line #29): 27 28 29 30 31 32 def region @azure_vm.location end def region=(setregion) Trace of template inclusion: app/views/hosts/_compute_detail.html.erb, app/views/hosts/_compute.html.erb, app/views/hosts/_unattended.html.erb, app/views/hosts/_form.html.erb, app/views/hosts/edit.html.erb Rails.root: /home/rootazure/foreman
Files
Actions