← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1522814] [NEW] No shared attribute error on Network tests

 

Public bug reported:

Error on network tests.

Traceback (most recent call last):
  File "/home/lin-hua-cheng/Documents/workspace/horizon/horizon/tables/base.py", line 1270, in _filter_action
    return action._allowed(request, datum) and row_matched
  File "/home/lin-hua-cheng/Documents/workspace/horizon/horizon/tables/actions.py", line 722, in _allowed
    return super(BatchAction, self)._allowed(request, datum)
  File "/home/lin-hua-cheng/Documents/workspace/horizon/horizon/tables/actions.py", line 136, in _allowed
    return self.allowed(request, datum)
  File "/home/lin-hua-cheng/Documents/workspace/horizon/openstack_dashboard/dashboards/project/networks/tables.py", line 39, in allowed
    if datum and datum.shared:
AttributeError: 'Row' object has no attribute 'shared'

Error caused by this patch: https://review.openstack.org/#/c/246549/

** Affects: horizon
     Importance: Undecided
     Assignee: Steve McLellan (sjmc7)
         Status: New

** Description changed:

  Error on network tests.
  
+ Traceback (most recent call last):
+   File "/home/lin-hua-cheng/Documents/workspace/horizon/horizon/tables/base.py", line 1270, in _filter_action
+     return action._allowed(request, datum) and row_matched
+   File "/home/lin-hua-cheng/Documents/workspace/horizon/horizon/tables/actions.py", line 722, in _allowed
+     return super(BatchAction, self)._allowed(request, datum)
+   File "/home/lin-hua-cheng/Documents/workspace/horizon/horizon/tables/actions.py", line 136, in _allowed
+     return self.allowed(request, datum)
+   File "/home/lin-hua-cheng/Documents/workspace/horizon/openstack_dashboard/dashboards/project/networks/tables.py", line 39, in allowed
+     if datum and datum.shared:
+ AttributeError: 'Row' object has no attribute 'shared'
  
- Traceback (most recent call last):
-   File "/home/lin-hua-cheng/Documents/workspace/horizon/horizon/tables/base.py", line 1270, in _filter_action
-     return action._allowed(request, datum) and row_matched
-   File "/home/lin-hua-cheng/Documents/workspace/horizon/horizon/tables/actions.py", line 722, in _allowed
-     return super(BatchAction, self)._allowed(request, datum)
-   File "/home/lin-hua-cheng/Documents/workspace/horizon/horizon/tables/actions.py", line 136, in _allowed
-     return self.allowed(request, datum)
-   File "/home/lin-hua-cheng/Documents/workspace/horizon/openstack_dashboard/dashboards/project/networks/tables.py", line 39, in allowed
-     if datum and datum.shared:
- AttributeError: 'Row' object has no attribute 'shared'
+ Error caused by this patch: https://review.openstack.org/#/c/246549/

** Changed in: horizon
     Assignee: (unassigned) => Steve McLellan (sjmc7)

-- 
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/1522814

Title:
  No shared attribute error on Network tests

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Error on network tests.

  Traceback (most recent call last):
    File "/home/lin-hua-cheng/Documents/workspace/horizon/horizon/tables/base.py", line 1270, in _filter_action
      return action._allowed(request, datum) and row_matched
    File "/home/lin-hua-cheng/Documents/workspace/horizon/horizon/tables/actions.py", line 722, in _allowed
      return super(BatchAction, self)._allowed(request, datum)
    File "/home/lin-hua-cheng/Documents/workspace/horizon/horizon/tables/actions.py", line 136, in _allowed
      return self.allowed(request, datum)
    File "/home/lin-hua-cheng/Documents/workspace/horizon/openstack_dashboard/dashboards/project/networks/tables.py", line 39, in allowed
      if datum and datum.shared:
  AttributeError: 'Row' object has no attribute 'shared'

  Error caused by this patch: https://review.openstack.org/#/c/246549/

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


Follow ups