Bug #21509
closedscap content/policy/tailoring file info don't show locations and organizations
Description
Description of problem: We created tailoring file/policy/scap content including location and organization parameter and tried to see info using hammer CLI of created tailoring file/policy/scap content. But location and organization info found blank.
How reproducible: always
Steps to Reproduce:
1. hammer> tailoring-file create --name rhel_1 --scap-file ssg-rhel7-ds-tailoring1.xml --original-filename rhel7_tailoring_file --location-ids 2 --organization-ids 1
Tailoring file successfully created
2. hammer> tailoring-file list
---|-----------------
ID | NAME
---|-----------------
1 | tailoring1_rhel7
2 | rhel_1
---|-----------------
3. hammer> tailoring-file info --id 2
Id: 2
Name: rhel_1
Created at: 2017-10-23 05:38:28 UTC
Original filename: rhel7_tailoring_file
Tailoring file profiles:
1) Id: 31
Profile id: xccdf_org.ssgproject.content_profile_common_customized_tailoring1
Title: Common Profile for General-Purpose Systems [CUSTOMIZED1]
Locations:
Organizations:
Same behaviour for policy and scap content.
Actual results:
Locations and organizations parameters was blank.
Expected results:
Locations and organizations info should display.
Updated by The Foreman Bot about 7 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/306 added
Updated by Marek Hulán about 7 years ago
- Subject changed from scap content/policy/tailoring file info don't show locations and organizations to scap content/policy/tailoring file info don't show locations and organizations
- Translation missing: en.field_release set to 322
Updated by Marek Hulán about 7 years ago
- Translation missing: en.field_release changed from 322 to 328
Updated by Ondřej Pražák about 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_openscap|ceed90df622ae3e4f27405e8a0348c624b912490.