Project

General

Profile

Actions

Bug #21967

open

No error message for failed lifecycle environment deletion

Added by James Shewey about 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 #2

Updated by James Shewey about 7 years ago

It appears no message is splashed when environments are successfully deleted either.

Actions #3

Updated by Anonymous about 7 years ago

  • Project changed from Foreman to Katello
  • Category deleted (Web Interface)
Actions #4

Updated by Eric Helms almost 7 years ago

  • Category set to Web UI
  • Translation missing: en.field_release set to 284
Actions #5

Updated by John Mitsch over 6 years ago

  • Translation missing: en.field_release changed from 284 to 352
Actions

Also available in: Atom PDF