subnet tests generating Http302 error in tests

Bug #1517653 reported by Lin Hua Cheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
Lin Hua Cheng

Bug Description

.Error while checking action permissions.
Traceback (most recent call last):
  File "/Documents/workspace/horizon/horizon/tables/base.py", line 1270, in _filter_action
    return action._allowed(request, datum) and row_matched
  File "/Documents/workspace/horizon/horizon/tables/actions.py", line 136, in _allowed
    return self.allowed(request, datum)
  File "/Documents/workspace/horizon/openstack_dashboard/dashboards/project/networks/subnets/tables.py", line 40, in allowed
    network = self.table._get_network()
  File "/Documents/workspace/horizon/horizon/utils/memoized.py", line 90, in wrapped
    value = cache[key] = func(*args, **kwargs)
  File "/Documents/workspace/horizon/openstack_dashboard/dashboards/project/networks/subnets/tables.py", line 145, in _get_network
    exceptions.handle(self.request, msg, redirect=self.failure_url)
  File "/Documents/workspace/horizon/horizon/exceptions.py", line 368, in handle
    log_method, log_entry, log_level)
  File "/Documents/workspace/horizon/horizon/exceptions.py", line 277, in handle_recoverable
    raise Http302(redirect)
Http302

Changed in horizon:
assignee: nobody → Lin Hua Cheng (lin-hua-cheng)
summary: - subnet tests generating error in tests
+ subnet tests generating Http302 error in tests
description: updated
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/247241

Changed in horizon:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/247241
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=d0b460e41f12f273a96a8c01d8b62527737fef35
Submitter: Jenkins
Branch: master

commit d0b460e41f12f273a96a8c01d8b62527737fef35
Author: lin-hua-cheng <email address hidden>
Date: Wed Nov 18 16:16:50 2015 -0800

    Fix 302 error on subnet tests

    Add missing mock on subnet detail tests.

    Change-Id: I0e516a549a78d20524e216bcd8a32ea2b306fd71
    Closes-Bug: #1517653

Changed in horizon:
status: In Progress → Fix Committed
Changed in horizon:
importance: Undecided → Low
milestone: none → mitaka-1
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/horizon 9.0.0.0b1

This issue was fixed in the openstack/horizon 9.0.0.0b1 development milestone.

Changed in horizon:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.