Bug #32987
closed"\\"\\\\x98\\" from ASCII-8BIT to UTF-8"\' error while trying to delete oval content.
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1980754
*Description of problem:
"\\"\\\\x98\\" from ASCII-8BIT to UTF-8" error while trying to delete oval content.
Version-Release number of selected component (if applicable):
tfm-rubygem-smart_proxy_openscap-0.9.0-1
How reproducible:
Always
Steps to Reproduce:
1. Create a oval content
curl -H "Accept: text/multipart" -k -X POST -u admin:password https://$(hostname)/api/v2/compliance/oval_contents -F \'oval_content[name]=jboss\' -F \'oval_content[scap_file]=@jboss-eap-7.oval.xml.bz2\' | json_reformat
2. Try to delete oval content.
curl -H "Accept: application/json" -X DELETE -u admin:password https://$(hostname)/api/v2/compliance/oval_contents/1 | json_reformat
Actual results: { "error": { "message": "\\"\\\\x98\\" from ASCII-8BIT to UTF-8" } }
Expected results:
No error while trying to delete oval content.
Updated by The Foreman Bot almost 4 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ondřej Pražák
- Pull request https://github.com/theforeman/foreman_openscap/pull/487 added
Updated by Ondřej Pražák almost 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_openscap|e0a63280d2d515f846a0c8b285f4991cd79f0ef0.
Updated by Ondřej Pražák almost 4 years ago
- Subject changed from "\\"\\\\x98\\" from ASCII-8BIT to UTF-8"\' error while trying to delete oval content. to "\\"\\\\x98\\" from ASCII-8BIT to UTF-8"\' error while trying to delete oval content.
- Fixed in Releases foreman_openscap 4.3.3 added
- Fixed in Releases deleted (
)