diff --git a/objects/objects.go b/objects/objects.go index 05eb52e..385cb0f 100644 --- a/objects/objects.go +++ b/objects/objects.go @@ -55,6 +55,13 @@ func (o *objConfig) parseFromJSON(data map[string]interface{}) error { if !ok { return fmt.Errorf("object (%v) doesn't have a string GUID (%s)", dguid, o.data["GUID"]) } + _, ok = o.data["XmlUI_path"] + if !ok { + _, ok = o.data["XmlUI"] + if !ok { + o.data["XmlUI"] = "" + } + } o.guid = guid o.subObj = []*objConfig{} o.subObjOrder = []string{}