The stack detail view (/project/stacks/stack/1eb55f99-1a06-431c-9e4a-51f80e88c0d3/) throws a KeyError exception for 'stack_id'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The stack trace is below. The attached patch fixes the issue for me.
Environment:
Request Method: GET
Request URL: https:/
Django Version: 1.5.4
Python Version: 2.7.3
Installed Applications:
['openstack_
'django.
'django.
'django.
'django.
'django.
'django.
'compressor',
'horizon',
'openstack_
'openstack_
'openstack_
'openstack_auth',
'openstack_
'openstack_
'openstack_
'openstack_
Installed Middleware:
('django.
'django.
'django.
'django.
'django.
'horizon.
'django.
'django.
'django.
Traceback:
File "/usr/lib/
115. response = callback(request, *callback_args, **callback_kwargs)
File "/srv/gunicorn/
38. return view_func(request, *args, **kwargs)
File "/srv/gunicorn/
54. return view_func(request, *args, **kwargs)
File "/srv/gunicorn/
38. return view_func(request, *args, **kwargs)
File "/srv/gunicorn/
86. return view_func(request, *args, **kwargs)
File "/usr/lib/
68. return self.dispatch(
File "/usr/lib/
86. return handler(request, *args, **kwargs)
File "/srv/gunicorn/
71. context = self.get_
File "/srv/gunicorn/
101. context["stack"] = self.get_
File "/srv/gunicorn/
90. value = cache[key] = func(*args, **kwargs)
File "/srv/gunicorn/
106. stack_id = kwargs['stack_id']
Exception Type: KeyError at /project/
Exception Value: 'stack_id'
Changed in horizon: | |
milestone: | none → icehouse-2 |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | icehouse-2 → 2014.1 |
https:/ /review. openstack. org/#/c/ 66210/ fixed