Bug 1014318 - don't write empty optionlist
Summary: don't write empty optionlist
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libcomps
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jindrich Luza
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-01 17:26 UTC by Daniel Mach
Modified: 2013-10-08 08:31 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-08 08:31:00 UTC
Type: Bug


Attachments (Terms of Use)

Description Daniel Mach 2013-10-01 17:26:46 UTC
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 08:31:00 UTC
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.