Delete port confirmation is missing port name or ID

Bug #1596691 reported by Brad Pokorny
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Daniel Castellanos

Bug Description

Steps to reproduce:

- This can be reproduced using the latest master code as of 6/27/16.

- Go to Admin -> System -> Networks -> select a network -> Ports tab -> Click on a Port to see the Details -> Click "Delete Port" (from Details)

The "Confirm Delete Port" text says:

"You have selected: . Please confirm your selection. This action cannot be undone."

So we are missing the port name or ID when running actions on Details screens.

This applies to other resources as well, such as Subnets.

Ankur (ankur-gupta-f)
Changed in horizon:
assignee: nobody → Ankur (ankur-gupta-f)
Revision history for this message
Rob Cresswell (robcresswell-deactivatedaccount) wrote :

I couldn't recreate this. The only oddity I see is that if I go to delete a named port, it shows the ID in the delete message instead of the name, but thats it.

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

Thats the message that pops up. Then when you confirm. It doesn't delete the port/subnet... etc...
which is the other bug

Matt Borland (palecrow)
description: updated
Changed in horizon:
status: Incomplete → Confirmed
importance: Undecided → High
Revision history for this message
Rob Cresswell (robcresswell-deactivatedaccount) wrote :

Ah, I see! I didn't realise the Details page part. I interpreted click on it and click delete, as selecting and using the table row delete.

Changed in horizon:
status: Confirmed → In Progress
Revision history for this message
Ankur (ankur-gupta-f) wrote :

https://review.openstack.org/#/c/336662/

The horizon.tables.js change fixes this bug.
As well as this same issue in other resource deletions

Changed in horizon:
assignee: Ankur (ankur-gupta-f) → 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)
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.