deb-keystone/keystone
Marcos Lobo 24da79bded Role NoneType object has no attribute setdefault
Havana Keystone configured with LDAP.

When you try to update a role using the API:

curl -X PATCH --insecure -H "X-Auth-Token:the_token" -H
"Content-type:
application/json" -d '{"role": {"name": "the new name"}}'
https://localhost:35357/v3/roles/role_id

Keystone server raises an error:

{"error": {"message": "An unexpected error prevented the server from
fulfilling your request. 'NoneType' object has no attribute
'setdefault'", "code": 500, "title": "Internal Server Error"}}

The role information is updated, but keystone server raises that
error.

Closes-Bug: #1247830

Change-Id: I686e40e42371f6e2cea55110554456a33939799c
2013-11-20 14:55:46 -05:00
..
assignment Role NoneType object has no attribute setdefault 2013-11-20 14:55:46 -05:00
auth Merge "UserAuthInfo use dependency injection" 2013-11-15 08:22:00 +00:00
catalog Use abstract base class for catalog driver 2013-10-08 08:24:10 -04:00
common Merge "Do not name variables as builtins" 2013-11-15 02:31:32 +00:00
contrib Merge "Do not name variables as builtins" 2013-11-15 02:31:32 +00:00
credential Do not name variables as builtins 2013-11-13 10:00:36 +01:00
identity Merge "Do not name variables as builtins" 2013-11-15 02:31:32 +00:00
locale Imported Translations from Transifex 2013-10-01 06:13:30 +00:00
middleware remove the nova dependency in the ec2_token middleware 2013-10-08 18:40:33 +08:00
openstack Sync log module from oslo 2013-11-10 19:57:57 -08:00
policy Merge "Do not name variables as builtins" 2013-11-15 02:31:32 +00:00
tests Role NoneType object has no attribute setdefault 2013-11-20 14:55:46 -05:00
token Add WSGI environment to context 2013-11-12 10:21:39 -05:00
trust Merge "Do not name variables as builtins" 2013-11-15 02:31:32 +00:00
__init__.py Revert "Disable eventlet monkey-patching of DNS" 2013-05-10 10:24:48 -04:00
clean.py Changed header from LLC to Foundation based on trademark policies 2013-09-05 15:03:32 -05:00
cli.py Changed header from LLC to Foundation based on trademark policies 2013-09-05 15:03:32 -05:00
config.py Changed header from LLC to Foundation based on trademark policies 2013-09-05 15:03:32 -05:00
controllers.py Changed header from LLC to Foundation based on trademark policies 2013-09-05 15:03:32 -05:00
exception.py trusts raise validation error if expires_at is invalid 2013-11-12 10:16:54 +00:00
notifications.py Implement decorator-based notifications for users 2013-08-29 15:06:19 -05:00
routers.py Changed header from LLC to Foundation based on trademark policies 2013-09-05 15:03:32 -05:00
service.py oauth using optional dependencies 2013-09-16 20:22:36 -04:00