opendcim/openDCIM

Delete connection leaves "front/rear" in the device port column until refresh

pentiumoverdrive opened this issue · 0 comments

Delete connection leaves "front/rear" in the device port column until refresh and also leaves "Media Type" and "Color code" selected.

1 - Go to a device
2 - Delete a connection
3 - Device port says for instance "(Rear)" and if you click it there is an a popup stating "Error".
4 - Refresh the page in the browser and it goes away and disappears.

image

After you have deleted a connection, next time you edit the row, the Delete button saves whatever is in your drop down for "media type" and "Color code". Delete should never save whats in the drop down.

image image

I guess delete should remove the whole row, but in the end you are stuck with media type and color selected for non existent connection and you cant blank out the whole row.