Bug 1170886

Summary: YaST XML serializer does not work reliably
Product: [openSUSE] openSUSE Tumbleweed Reporter: Josef Reidinger <jreidinger>
Component: YaST2Assignee: Josef Reidinger <jreidinger>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Josef Reidinger 2020-04-30 06:36:59 UTC
In general issue is that YaST uses its own serializer of data to XML and back. It is used for autoyast and product profiles. Issue is that for some corner cases it does not work reliably and loose data. Example is empty xml element, nil values or non string keys.

We discussed solutions and decision is that object that goes to XML and back should be always same or exception is raises if data is invalid. This needs to adapt XML serializer and also some skelcds and system roles that uses invalid elements which was in past silently ignored.
Comment 13 Josef Reidinger 2020-09-15 07:48:08 UTC
fixed, see above
Comment 14 OBSbugzilla Bot 2020-10-27 10:09:06 UTC
This is an autogenerated message for OBS integration:
This bug (1170886) was mentioned in
https://build.opensuse.org/request/show/844234 Factory / yast2-registration