No plan is set active after deleting the active plan

Bug #1642235 reported by Udi Kalifon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Unassigned

Bug Description

I selected one of the plans as the active plan, and deleted it. The deletion succeeded but no other plan was selected as the new active plan, and I was left in a state where there is no active plan in the system. I wanted to see what happens if you try to switch to the deployment page in this state, and I saw this exception in the console:

DeploymentPlan.js:69 Uncaught TypeError: Cannot read property 'name' of undefined

I tried to click again and got another exception:

Uncaught TypeError: Cannot read property 'getNativeNode' of null

The GUI itself didn't show anything, and a user who doesn't have the console open doesn't see what's not working. It just looks like your attempt to switch to the deployment page is being ignored.

Tags: ui
Revision history for this message
Jason E. Rist (jason-rist) wrote :

Need to not allow to delete active plan

Changed in tripleo:
importance: Undecided → Medium
status: New → Triaged
milestone: none → ocata-2
Changed in tripleo:
milestone: ocata-2 → ocata-3
Changed in tripleo:
milestone: ocata-3 → pike-1
Changed in tripleo:
milestone: pike-1 → pike-2
Changed in tripleo:
milestone: pike-2 → pike-3
Revision history for this message
Udi Kalifon (ukalifon) wrote :

This is already fixed, the bug can be closed.

Revision history for this message
Julie Pichon (jpichon) wrote :

Thank you for the update, closing.

Changed in tripleo:
status: Triaged → 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.