← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1474228] [NEW] inline edit failed in user table because description doesn't exits

 

Public bug reported:

inline edit failed in user table because description doesn't exits

Internal Server Error: /identity/users/
Traceback (most recent call last):
  File "/home/user/.virtualenvs/test-horizon/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/user/github/horizon/horizon/decorators.py", line 36, in dec
    return view_func(request, *args, **kwargs)
  File "/home/user/github/horizon/horizon/decorators.py", line 52, in dec
    return view_func(request, *args, **kwargs)
  File "/home/user/github/horizon/horizon/decorators.py", line 36, in dec
    return view_func(request, *args, **kwargs)
  File "/home/user/.virtualenvs/test-horizon/local/lib/python2.7/site-packages/django/views/generic/base.py", line 69, in view
    return self.dispatch(request, *args, **kwargs)
  File "/home/user/.virtualenvs/test-horizon/local/lib/python2.7/site-packages/django/views/generic/base.py", line 87, in dispatch
    return handler(request, *args, **kwargs)
  File "/home/user/github/horizon/horizon/tables/views.py", line 224, in post
    return self.get(request, *args, **kwargs)
  File "/home/user/github/horizon/horizon/tables/views.py", line 160, in get
    handled = self.construct_tables()
  File "/home/user/github/horizon/horizon/tables/views.py", line 145, in construct_tables
    preempted = table.maybe_preempt()
  File "/home/user/github/horizon/horizon/tables/base.py", line 1533, in maybe_preempt
    new_row)
  File "/home/user/github/horizon/horizon/tables/base.py", line 1585, in inline_edit_handle
    error = exceptions.handle(request, ignore=True)
  File "/home/user/github/horizon/horizon/exceptions.py", line 361, in handle
    six.reraise(exc_type, exc_value, exc_traceback)
  File "/home/user/github/horizon/horizon/tables/base.py", line 1580, in inline_edit_handle
    cell_name)
  File "/home/user/github/horizon/horizon/tables/base.py", line 1606, in inline_update_action
    self.request, datum, obj_id, cell_name, new_cell_value)
  File "/home/user/github/horizon/horizon/tables/actions.py", line 952, in action
    self.update_cell(request, datum, obj_id, cell_name, new_cell_value)
  File "/home/user/github/horizon/openstack_dashboard/dashboards/identity/users/tables.py", line 210, in update_cell
    horizon_exceptions.handle(request, ignore=True)
  File "/home/user/github/horizon/horizon/exceptions.py", line 361, in handle
    six.reraise(exc_type, exc_value, exc_traceback)
  File "/home/user/github/horizon/openstack_dashboard/dashboards/identity/users/tables.py", line 200, in update_cell
    description=user_obj.description,
  File "/home/user/.virtualenvs/test-horizon/local/lib/python2.7/site-packages/keystoneclient/openstack/common/apiclient/base.py", line 494, in __getattr__
    raise AttributeError(k)
AttributeError: description

** Affects: horizon
     Importance: Undecided
     Assignee: jelly (coding1314)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => jelly (coding1314)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1474228

Title:
  inline edit failed in user table because description doesn't exits

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  inline edit failed in user table because description doesn't exits

  Internal Server Error: /identity/users/
  Traceback (most recent call last):
    File "/home/user/.virtualenvs/test-horizon/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
      response = wrapped_callback(request, *callback_args, **callback_kwargs)
    File "/home/user/github/horizon/horizon/decorators.py", line 36, in dec
      return view_func(request, *args, **kwargs)
    File "/home/user/github/horizon/horizon/decorators.py", line 52, in dec
      return view_func(request, *args, **kwargs)
    File "/home/user/github/horizon/horizon/decorators.py", line 36, in dec
      return view_func(request, *args, **kwargs)
    File "/home/user/.virtualenvs/test-horizon/local/lib/python2.7/site-packages/django/views/generic/base.py", line 69, in view
      return self.dispatch(request, *args, **kwargs)
    File "/home/user/.virtualenvs/test-horizon/local/lib/python2.7/site-packages/django/views/generic/base.py", line 87, in dispatch
      return handler(request, *args, **kwargs)
    File "/home/user/github/horizon/horizon/tables/views.py", line 224, in post
      return self.get(request, *args, **kwargs)
    File "/home/user/github/horizon/horizon/tables/views.py", line 160, in get
      handled = self.construct_tables()
    File "/home/user/github/horizon/horizon/tables/views.py", line 145, in construct_tables
      preempted = table.maybe_preempt()
    File "/home/user/github/horizon/horizon/tables/base.py", line 1533, in maybe_preempt
      new_row)
    File "/home/user/github/horizon/horizon/tables/base.py", line 1585, in inline_edit_handle
      error = exceptions.handle(request, ignore=True)
    File "/home/user/github/horizon/horizon/exceptions.py", line 361, in handle
      six.reraise(exc_type, exc_value, exc_traceback)
    File "/home/user/github/horizon/horizon/tables/base.py", line 1580, in inline_edit_handle
      cell_name)
    File "/home/user/github/horizon/horizon/tables/base.py", line 1606, in inline_update_action
      self.request, datum, obj_id, cell_name, new_cell_value)
    File "/home/user/github/horizon/horizon/tables/actions.py", line 952, in action
      self.update_cell(request, datum, obj_id, cell_name, new_cell_value)
    File "/home/user/github/horizon/openstack_dashboard/dashboards/identity/users/tables.py", line 210, in update_cell
      horizon_exceptions.handle(request, ignore=True)
    File "/home/user/github/horizon/horizon/exceptions.py", line 361, in handle
      six.reraise(exc_type, exc_value, exc_traceback)
    File "/home/user/github/horizon/openstack_dashboard/dashboards/identity/users/tables.py", line 200, in update_cell
      description=user_obj.description,
    File "/home/user/.virtualenvs/test-horizon/local/lib/python2.7/site-packages/keystoneclient/openstack/common/apiclient/base.py", line 494, in __getattr__
      raise AttributeError(k)
  AttributeError: description

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1474228/+subscriptions


Follow ups