Bug 1014318 - don't write empty optionlist
don't write empty optionlist
Status: CLOSED NEXTRELEASE
Product: Fedora
Classification: Fedora
Component: libcomps (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Jindrich Luza
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-01 13:26 EDT by Daniel Mach
Modified: 2013-10-08 04:31 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-10-08 04:31:00 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Daniel Mach 2013-10-01 13:26:46 EDT
Input xml contains:
<optionlist>
</optionlist>


After reading and writing the comps file, this changes to:
<optionlist/>

expected result:
In case a section is empty, it should not be part of output.
Comment 1 Jindrich Luza 2013-10-08 04:31:00 EDT
fixed in libcomps-0.1.4-2.fc21

Note You need to log in before you can comment on or make changes to this bug.