yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #64608
[Bug 1695719] Re: AttributeError in project snapshot detail page
Reviewed: https://review.openstack.org/470749
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=a27753153b73c3be46c1eb83975aa6990ea3bc1a
Submitter: Jenkins
Branch: master
commit a27753153b73c3be46c1eb83975aa6990ea3bc1a
Author: wei.ying <wei.ying@xxxxxxxxxxxx>
Date: Sun Jun 4 21:16:33 2017 +0800
Fix AttributeError in project/admin snapshot detail page
If click the name link and go into the details page for the snapshot,
the snapshot object lose the property of volume. It will be thrown an
exception in the console.
AttributeError: 'VolumeSnapshot' object has no attribute '_volume'
Change-Id: I365992a9f784af293f40d74e0f80828d9a7e699b
Closes-Bug: #1695719
** Changed in: horizon
Status: In Progress => Fix Released
--
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/1695719
Title:
AttributeError in project snapshot detail page
Status in OpenStack Dashboard (Horizon):
Fix Released
Bug description:
Env: devstack master branch
Steps to reproduce:
1. Go to project/volumes/snapshots panel.
2. Click a snapshot name and redirect to its detail page.
3. View the console.
Error while checking action permissions.
Traceback (most recent call last):
File "/opt/stack/horizon/horizon/tables/base.py", line 1359, in _filter_action
return action._allowed(request, datum) and row_matched
File "/opt/stack/horizon/horizon/tables/actions.py", line 136, in _allowed
self.allowed(request, datum))
File "/opt/stack/horizon/openstack_dashboard/dashboards/project/snapshots/tables.py", line 45, in allowed
if (snapshot._volume and
File "/opt/stack/horizon/openstack_dashboard/api/base.py", line 121, in __getattribute__
return object.__getattribute__(self, attr)
AttributeError: 'VolumeSnapshot' object has no attribute '_volume'
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1695719/+subscriptions
References