Bug #36904
closedUploading invalid datastream file while creating Tailoring File in Satellite WebUI should show some meaningful error message instead of 500 Internal Server Error
Description
Description of problem:
The tailoring file creation fails when a invalid datastream file is uploaded which is a expected behavior. But a relevant meaningful message should get displayed to user instead of '500 Internal Server Error'
Steps to Reproduce:
1. Navigate to Foreman WebUI -> Hosts -> Tailoring Files -> New Tailoring File.
2. Enter the name and then browse and upload DataStream tailoring file which is not valid. Select the respective Organizations and Locations.
3. Hit submit.
Actual results: The Tailoring file cannot be created and it fails with below message.
Oops, we're sorry but something went wrong 500 Internal Server Error
Expected results: Some meaningful message like "Invalid Datastream tailoring file" should be shown on screen instead of failure with 500 Internal Server Error.
Updated by The Foreman Bot 7 months ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman_openscap/pull/550 added
Updated by The Foreman Bot 7 months ago
- Fixed in Releases foreman_openscap 5.2.0 added
Updated by Anonymous 7 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_openscap|5d2185bdc280ed25a17591cce3dea1a2d1f925fa.
Updated by Adam Ruzicka 7 months ago
- Fixed in Releases foreman_openscap-7.1.0 added
- Fixed in Releases deleted (
foreman_openscap 5.2.0)