similar to: [PATCH server] fix for BZ #477796: pool name uniqueness

Displaying 20 results from an estimated 300 matches similar to: "[PATCH server] fix for BZ #477796: pool name uniqueness"

2009 May 26
1
[PATCH server] fix for Bug 466731 - There is no title for the third column in User Access page and can't be sorted
Added column title and made it sortable. Signed-off-by: Scott Seago <sseago at redhat.com> --- src/app/models/pool.rb | 4 +++- src/app/views/user/_grid.rhtml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/app/models/pool.rb b/src/app/models/pool.rb index 0a63723..3c95684 100644 --- a/src/app/models/pool.rb +++ b/src/app/models/pool.rb @@ -57,7
2009 May 20
1
[PATCH server] don't add nil key to failures hash for PartialSuccessError handling.
In addition, removed unnecessary 'rescue' clauses and fixed a bug in a prior fix for this problem for the Permission and Network controllers. Signed-off-by: Scott Seago <sseago at redhat.com> --- src/app/controllers/application.rb | 2 +- src/app/controllers/network_controller.rb | 2 +- src/app/controllers/permission_controller.rb | 6 ++----
2009 May 19
1
re-sending outstanding controller refactoring patches after rebase
I've rebased the patch series to the current next branch and am sending them again.
2007 Jul 18
10
Rails - Mock going out of scope?
Hello list, I think I have a rails related RSpec problem with a mock going out of scope on a recursive call to a model. The code is at: http://pastie.textmate.org/79821 if you want to see it highlighted. I have pasted it below as well. Basically, I have an acts_as_nested_set model called "Node", which works fine. I have a function which finds the language name of the node instance.
2009 May 29
1
[PATCH server] fixed UI update bug -- ignore task_types when it doesn't exist
Signed-off-by: Scott Seago <sseago at redhat.com> --- src/app/views/task/_show.rhtml | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/app/views/task/_show.rhtml b/src/app/views/task/_show.rhtml index f4e001d..ff7d434 100644 --- a/src/app/views/task/_show.rhtml +++ b/src/app/views/task/_show.rhtml @@ -75,7 +75,9 @@ <img
2009 May 27
1
[PATCH server] Bug 478729 - Cannot add vm to smart pool after select one vm
There were two javascript functions with the same name, and the wrong one was being called. I renamed one to avoid conflicts. Signed-off-by: Scott Seago <sseago at redhat.com> --- src/app/views/vm/add_to_smart_pool.rhtml | 3 ++- src/public/javascripts/ovirt.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/views/vm/add_to_smart_pool.rhtml
2009 May 20
1
[PATCH server] split StorageVolumeService.svc_new into two methods.
Signed-off-by: Scott Seago <sseago at redhat.com> --- src/app/controllers/storage_volume_controller.rb | 6 ++- src/app/services/storage_volume_service.rb | 60 ++++++++++++--------- 2 files changed, 39 insertions(+), 27 deletions(-) diff --git a/src/app/controllers/storage_volume_controller.rb b/src/app/controllers/storage_volume_controller.rb index b89513a..fb6bc9c 100644 ---
2009 May 22
1
[PATCH server] fixed smart pool 'save' regression.
The recent refactoring didn't work properly for new smart pools, so I've cleaned jup the parameter handling for the various pool 'create' actions. Signed-off-by: Scott Seago <sseago at redhat.com> --- src/app/controllers/hardware_controller.rb | 5 +---- src/app/controllers/pool_controller.rb | 6 ++++-- src/app/controllers/resources_controller.rb | 6
2009 May 15
1
[PATCH server] provide default uuid and mac if not provided for create.
Signed-off-by: Scott Seago <sseago at redhat.com> --- src/app/services/vm_service.rb | 25 ++++++++++++++++--------- 1 files changed, 16 insertions(+), 9 deletions(-) diff --git a/src/app/services/vm_service.rb b/src/app/services/vm_service.rb index 4c29bcf..47ac5f5 100644 --- a/src/app/services/vm_service.rb +++ b/src/app/services/vm_service.rb @@ -52,15 +52,9 @@ module VmService def
2008 Jun 23
2
Messaging system
Hey All, I''m trying to put a messaging system together using this http://www.novawave.net/public/rails_messaging_tutorial.html. All working fine but I''d like to be to thread the replies. At the moment, a message goes out, someone replies to it and the original is simply included in the reply. I''d like to be able to thread the replies using acts_as_tree or something but
2009 May 15
0
[PATCH server] final cleanup for service layer refactoring.
I've pulled out the no-longer-necessary remnants of the old way of handling auth and before_filters as well as fixing a couple bugs that had crept in along the way. Unit test fixes for the refactoring will follow in a subsequent patch. Signed-off-by: Scott Seago <sseago at redhat.com> --- src/app/controllers/application.rb | 46 ----------------
2009 Jun 29
2
One more fix
This resend includes the rebase, but fixes a problem I just noticed with nil/empty checks.
2009 Jun 29
2
Resend of Cloud UI/service patches
This is a resend of the 2-patch series from a week or so ago, needed to be rebased due to some commits on next
2009 Jun 22
2
Patch series for Cloud Vm Actions
The following two patches should be applied in the order: * [PATCH server] Add svc_vm_actions method to VmService. * [PATCH server] Cloud UI layer to initiate actions on vms. The service layer patch should work fine on its own (and not break anything), but cloud patch relies on service being there.
2010 Mar 08
0
betternestedset in rails 3.0
Hi Guys, when i upgraded my rails 2.3.4 to 3.0 my betternestedset is not working. It was working fine in the older version. This is my controller def new cat = Category.new cat.text=''test'' cat.save cat.move_to_child_of(Category.find_by_id(1)) #26 redirect_to :action => ''index'' end It gives me this error : "You cannot move a
2007 Mar 17
0
Unit test problem -- BetterNestedSet?
After adding validates_uniqueness_of :login_name to a User model that acts_as_nested_set using BetterNestedSet, my unit tests started failing. On investigation, I found that valid? wasn''t true for the records in question after they were created. Running the exact same sequence of tests by hand in the console -- creating records, then calling move_to_child_of on them -- works fine. If
2007 Nov 21
3
update_attribute weirdness in edge
If I am changing a boolean value, no matter what approach I take, I get the same results: lets say table "users" has an "enabled" field that is boolean: user = User.find(1) user.enabled.toggle NoMethodError: undefined method `toggle'' for false:FalseClass user = User.find(1) toggle(user.enabled) NoMethodError: undefined method `toggle'' for
2009 Nov 26
2
[error] avahi_entry_group_add_service_strlst("AdminNodeFQDN") failed: Invalid host name
Hi, After doing a clean install of ovirt in a Fedora 11 VM, I am unable to get anything working in the web interface. All I get is an error 500. After reviewing the logs I see the following error in /var/log/http/error.log [Thu Nov 26 11:29:11 2009] [notice] Apache/2.2.13 (Unix) DAV/2 mod_auth_kerb/5.4 mod_nss/2.2.11 NSS/3.12.2.0 mod_python/3.3.1 Python/2.6 configured -- resuming normal
2009 Jun 12
2
only seeing one NIC in network device editor
Hi, When I click on "Edit Network" on my managed node in the hosts tab of the oVirt UI I only see one NIC. My managed node has 2 NICs, one on the guest network and one on the admin network. The NIC on the admin network is not listed in the network editor. Is this normal? I'm trying to create a VM and boot the cobbler profile I created for Fedora 10 but I can only boot the VM
2009 Jun 16
1
[PATCH server] Fix errors in controller tests.
A bunch of controllers were not extending ActionController::TestCase, and instead were just using the basic test/unit testcase, so we were not getting some of the rails baked-in stuff. Signed-off-by: Jason Guiditta <jguiditt at redhat.com> --- src/test/functional/host_controller_test.rb | 2 +- src/test/functional/nic_controller_test.rb | 2 +-