ACK, this one is tough to test, but makes sense, applies fine, and doesnt obviously break anything.<br><br><div class="gmail_quote">On Tue, May 19, 2009 at 10:23 AM, 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;"><br>
Signed-off-by: Scott Seago <<a href="mailto:sseago@redhat.com">sseago@redhat.com</a>><br>
---<br>
 src/app/controllers/application.rb |    6 +++++-<br>
 1 files changed, 5 insertions(+), 1 deletions(-)<br>
<br>
diff --git a/src/app/controllers/application.rb b/src/app/controllers/application.rb<br>
index 14fe618..e9c515f 100644<br>
--- a/src/app/controllers/application.rb<br>
+++ b/src/app/controllers/application.rb<br>
@@ -123,7 +123,11 @@ class ApplicationController < ActionController::Base<br>
<br>
   def handle_partial_success_error(error)<br>
     failures_arr = error.failures.collect do |resource, reason|<br>
-      resource.display_name + ": " + reason<br>
+      if resource<br>
+        resource.display_name + ": " + reason<br>
+      else<br>
+        reason<br>
+      end<br>
     end<br>
     @successes = error.successes<br>
     @failures = error.failures<br>
<font color="#888888">--<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>