inline edit failed in user table because description doesn't exists
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Undecided
|
Kuo-tung Kao (jelly) | ||
Kilo |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
inline edit failed in user table because description doesn't exits
Environment:
ubuntu devstack stable/kilo
horizon commit id: c2b543bb8f3adb4
keystone commit id: 8125a8913d233f3
$keystone --version
/home/user/
'python-
1.6.0
How to reproduce the bug:
1. create a new user. (important)
2. Try to edit user using inline edit.
Note:
If you edit the user using inline edit and the user was edited by update user form ever, the exception will not raise because the update form set description to empty string.
Traceback:
Internal Server Error: /identity/users/
Traceback (most recent call last):
File "/home/
response = wrapped_
File "/home/
return view_func(request, *args, **kwargs)
File "/home/
return view_func(request, *args, **kwargs)
File "/home/
return view_func(request, *args, **kwargs)
File "/home/
return self.dispatch(
File "/home/
return handler(request, *args, **kwargs)
File "/home/
return self.get(request, *args, **kwargs)
File "/home/
handled = self.construct_
File "/home/
preempted = table.maybe_
File "/home/
new_row)
File "/home/
error = exceptions.
File "/home/
six.
File "/home/
cell_name)
File "/home/
self.request, datum, obj_id, cell_name, new_cell_value)
File "/home/
self.
File "/home/
horizon_
File "/home/
six.
File "/home/
description
File "/home/
raise AttributeError(k)
AttributeError: description
Changed in horizon: | |
assignee: | nobody → jelly (coding1314) |
summary: |
- inline edit failed in user table because description doesn't exits + inline edit failed in user table because description doesn't exists |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
tags: | added: kilo-backport-potential |
Changed in horizon: | |
milestone: | none → liberty-3 |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | liberty-3 → 8.0.0 |
Fix proposed to branch: master /review. openstack. org/201437
Review: https:/