diff -r 87cfa131b535 -r e7e0ae78773e configurationengine/source/plugins/symbian/ConeGenconfmlPlugin/genconfmlplugin/confflattener.py --- a/configurationengine/source/plugins/symbian/ConeGenconfmlPlugin/genconfmlplugin/confflattener.py Fri Mar 12 08:30:17 2010 +0200 +++ b/configurationengine/source/plugins/symbian/ConeGenconfmlPlugin/genconfmlplugin/confflattener.py Tue Aug 10 14:29:28 2010 +0300 @@ -82,8 +82,14 @@ toview = to_config.get_default_view() for fea in toview.get_features('**'): fromfea = dview_from.get_feature(fea.fqr) - if fromfea.get_value() != None: - fea.set_value(fromfea.get_value()) + # If the value is an empty list, don't add it. + # This is because an empty list means that we have + # a sequence setting or sequence sub-setting that doesn't have + # any contents, and calling set_value() would create a data + # element for it with the attribute empty="true". + val = fromfea.get_value() + if val not in (None, []): + fea.set_value(val) return to_config def create_configuration(self, conf_from_org, settings, path="tempfile.confml"):