Cannot delete a subnet or a port from their detail page

Bug #1596411 reported by Ankur
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Daniel Castellanos

Bug Description

Example:

admin/networks

When looking at the network table one is able to click dropdown "Delete <network, subnet, port>" and it will pop-up with a message asking whether a use wants to delete.

Upon confirmation it will delete.

If you click the link and go into the details page for the <network, subnet, port>. And attempt to delete. It will pop up a message, but omit the name/id.

Upon confirmation. It will NOT delete.

Revision history for this message
Rob Cresswell (robcresswell-deactivatedaccount) wrote :

I couldn't verify this; delete works fine for me when deleting from the tabs.

Changed in horizon:
status: New → Incomplete
Revision history for this message
Ankur (ankur-gupta-f) wrote :

Hi Rob: To clarify. the tab go into the details page and try deleting i.e. (/admin/networks/ports/<id>/detail, /admin/networks/subnets/<id>/detail, etc..) and try deleting. I had another person on team have the same results. Where when deleting from networks/.../details it doesn't delete, nor does it show/throw a message.

I may be going crazy though. :|

Revision history for this message
Daniel Castellanos (luis-daniel-castellanos) wrote :

I was able to reproduce the bug. I tried to delete a subnet and a port from their respective details page and they weren't deleted.
No success or error message were displayed when performing the action

Changed in horizon:
assignee: nobody → Juan Pablo lopez Gutierrez (juan-pablo-lopez-gutierrez)
David Lyle (david-lyle)
Changed in horizon:
importance: Undecided → Medium
Revision history for this message
Akihiro Motoki (amotoki) wrote :

The bug title looks confusing.

I confirmed we cannot delete a subnet or a port from the menu of their detail page and no error message is displayed.

Revision history for this message
Akihiro Motoki (amotoki) wrote :

On the other hand, I can successfully delete a network from its detail page.

summary: - Cannot Delete Network Items From Details
+ Cannot delete a subnet or a port from their detail page
Changed in horizon:
assignee: Juan Pablo lopez Gutierrez (juan-pablo-lopez-gutierrez) → Daniel Castellanos (luis-daniel-castellanos)
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/336662

Changed in horizon:
status: Incomplete → In Progress
Changed in horizon:
assignee: Daniel Castellanos (luis-daniel-castellanos) → Ankur (ankur-gupta-f)
Changed in horizon:
assignee: Ankur (ankur-gupta-f) → Sunkara Ramya Sree (ramyasunkara)
Changed in horizon:
assignee: Sunkara Ramya Sree (ramyasunkara) → nobody
Changed in horizon:
assignee: nobody → Daniel Castellanos (luis-daniel-castellanos)
Changed in horizon:
assignee: Daniel Castellanos (luis-daniel-castellanos) → Ankur (ankur-gupta-f)
Changed in horizon:
assignee: Ankur (ankur-gupta-f) → Daniel Castellanos (luis-daniel-castellanos)
Revision history for this message
Sunkara Ramya Sree (ramyasunkara) wrote :

@Daniel Castellanos Can I work on this bug?

Akihiro Motoki (amotoki)
Changed in horizon:
milestone: none → newton-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

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

commit 53bdad4cf7d6a2039c8de3bd41402824444d7837
Author: Luis Daniel Castellanos <email address hidden>
Date: Fri Jul 1 11:49:35 2016 -0500

    Ability to delete network items from their details page

    This patch fixes the bug that was preventing users to delete a port
    from the Admin>Networks>Port Details page

    It also fixes bug preventing user from deleting a subnet from
    the Admin>Networks>Port Details page.

    The fix affects both Project>Networks & Admin>Networks

    Co-Authored-By: Ankur Gupta <email address hidden>

    Change-Id: I408f190584b01e0aadd1af2d4a59438a53426e70
    Closes-Bug: #1596411
    Closes-Bug: #1596691

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 10.0.0.0rc1

This issue was fixed in the openstack/horizon 10.0.0.0rc1 release candidate.

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.