Bug 1320197

Summary: Tailored profile title deformed after reload
Product: Red Hat Enterprise Linux 7 Reporter: Marek Haicman <mhaicman>
Component: scap-workbenchAssignee: Martin Preisler <mpreisle>
Status: CLOSED ERRATA QA Contact: Marek Haicman <mhaicman>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: mhaicman, mpreisle, openscap-maint, qe-baseos-security, wsato
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: scap-workbench-1.1.4-4.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1320194 Environment:
Last Closed: 2017-08-01 09:09:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
state after step 5 none

Description Marek Haicman 2016-03-22 14:41:29 UTC
+++ This bug was initially created as a clone of Bug #1320194 +++

Description of problem:
When tailoring is done by scap-workbench, created tailored profile has name as defined during tailoring. But after reload, name is shown as appended to the original profile.

Version-Release number of selected component (if applicable):
scap-workbench-1.0.2-2.el7

How reproducible:
reliably

Steps to Reproduce:
1. tailor profile "Standard System Security Profile" 
2. save the tailoring
3. see profile name - "Standard System Security Profile [TAILORED]"
4. load saved tailoring
5. see there is profile named - "Standard System Security ProfileStandard System Security Profile [TAILORED]"

Actual results:
Described in 5.

Expected results:
Same in 5 as in 3.

Comment 1 Martin Preisler 2016-09-26 19:17:09 UTC
Fixed upstream:
- OpenSCAP: https://github.com/OpenSCAP/openscap/pull/527
- SCAP Workbench: https://github.com/OpenSCAP/scap-workbench/pull/80

Comment 4 Marek Haicman 2017-05-29 18:28:34 UTC
Created attachment 1283300 [details]
state after step 5

Verified fix on version:
[dahaic@localhost]$ rpm -qa scap-workbench
scap-workbench-1.1.4-4.el7.x86_64

Comment 5 errata-xmlrpc 2017-08-01 09:09:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:2296