Project

General

Profile

Actions

Bug #21967

open

No error message for failed lifecycle environment deletion

Added by James Shewey almost 7 years ago. Updated over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Web UI
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When you attempt to delete a lifecycle environment that has an associated activation key, no error is thrown. It simply appears like the "Remove Environment" button does not work.

To reproduce:

  • Create a Lifecycle Environment
  • Create an activation key and associate it with that Lifecycle environment
  • Try to delete the environment

Additional details:

This error occurs because the call to the REST api returns 400 Bad Request, but no error message is splashed in the GUI. If you manually delete the Lifecycle environment using curl and the REST api, you receive back:

{"displayMessage":"Lifecycle Environment arptest has associated Activation Keys. Please change or remove the associated Activation Keys before trying to delete this lifecycle environment.","errors":["Lifecycle Environment arptest has associated Activation Keys. Please change or remove the associated Activation Keys before trying to delete this lifecycle environment."]}

However, this error needs to be passed back to the user in the GUI. Tested in Firefox and Chrome and this occurs in both browsers.

Actions

Also available in: Atom PDF