Description of problem: pulp.server.webservices.controllers.repo_groups.RepoGroupResource.PUT tries to pass two positional arguments to RepoGroupManager.update_repo_group, but that method is only willing to accept one of them. As a result, a PUT request to that controller returns 500. http://git.fedorahosted.org/git/?p=pulp.git;a=blob;f=platform/src/pulp/server/webservices/controllers/repo_groups.py;h=ca3804a4e3066a6d0f26be7dd15950057974c4c8;hb=HEAD#l116 Version-Release number of selected component (if applicable): latest (git @ca3804a4)
Fixed as part of commit: commit 50d9a547a54b0567ce28b09a324fd2468e6180ee Author: Jay Dobies <jason.dobies> Date: Mon Jul 23 14:36:11 2012 -0400 Unit tests for repo group CRUD REST controllers platform/src/pulp/server/dispatch/constants.py platform/src/pulp/server/webservices/controllers/repo_groups.py platform/src/pulp/server/webservices/controllers/repositories.py platform/test/unit/test_repo_group_controller.py
build: 0.320.
verified [root@preethi-el6-pulp ~]# rpm -q pulp-rpm-server pulp-rpm-server-0.0.321-1.el6.noarch >>> pic.PUT('/v2/repo_groups/mygroup/',body={ "display_name": "Demo Group"}) Request Body { "display_name": "Demo Group" } Response Body { "scratchpad": null, "display_name": "Demo Group", "description": null, "_ns": "repo_groups", "notes": {}, "repo_ids": [], "_id": { "$oid": "50256b11196f455d6800007f" }, "id": "mygroup", "_href": "/pulp/api/v2/repo_groups/mygroup/" } (200, {u'scratchpad': None, u'display_name': u'Demo Group', u'description': None, u'_ns': u'repo_groups', u'notes': {}, u'repo_ids': [], u'_id': {u'$oid': u'50256b11196f455d6800007f'}, u'id': u'mygroup', u'_href': u'/pulp/api/v2/repo_groups/mygroup/'}) >>>
Pulp 2.0 released.