ACK, can now move to new hardware pool<br><br><div class="gmail_quote">On Fri, May 22, 2009 at 12:52 PM, Scott Seago <span dir="ltr"><<a href="mailto:sseago@redhat.com">sseago@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I think the original reported error has long since been resolved, but this action is currently broken for another reason -- an incorrect classname was used for Storage in the controller.<br>
<br>
Signed-off-by: Scott Seago <<a href="mailto:sseago@redhat.com">sseago@redhat.com</a>><br>
---<br>
 src/app/controllers/hardware_controller.rb |    2 +-<br>
 1 files changed, 1 insertions(+), 1 deletions(-)<br>
<br>
diff --git a/src/app/controllers/hardware_controller.rb b/src/app/controllers/hardware_controller.rb<br>
index 6d879b9..73ff744 100644<br>
--- a/src/app/controllers/hardware_controller.rb<br>
+++ b/src/app/controllers/hardware_controller.rb<br>
@@ -189,7 +189,7 @@ class HardwareController < PoolController<br>
   def additional_create_params<br>
     ret_hash = {:resource_ids => params[:resource_ids]}<br>
     ret_hash[:resource_type] = Host if params[:resource_type] == "hosts"<br>
-    ret_hash[:resource_type] = Storage if params[:resource_type] == "storage"<br>
+    ret_hash[:resource_type] = StoragePool if params[:resource_type] == "storage"<br>
     ret_hash<br>
   end<br>
<font color="#888888"><br>
--<br>
1.6.0.6<br>
<br>
_______________________________________________<br>
Ovirt-devel mailing list<br>
<a href="mailto:Ovirt-devel@redhat.com">Ovirt-devel@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/ovirt-devel" target="_blank">https://www.redhat.com/mailman/listinfo/ovirt-devel</a><br>
</font></blockquote></div><br>