OLINGO-982: fixing the nullable property to be true when omitted on navigation property
This commit is contained in:
parent
ec009caa64
commit
89438caaf5
|
@ -915,7 +915,7 @@ public class MetadataParser {
|
||||||
property.setName(attr(element, "Name"));
|
property.setName(attr(element, "Name"));
|
||||||
property.setType(readType(element));
|
property.setType(readType(element));
|
||||||
property.setCollection(isCollectionType(element));
|
property.setCollection(isCollectionType(element));
|
||||||
property.setNullable(Boolean.parseBoolean(attr(element, "Nullable")));
|
property.setNullable(Boolean.parseBoolean(attr(element, "Nullable") == null ? "true" : attr(element, "Nullable")));
|
||||||
property.setPartner(attr(element, "Partner"));
|
property.setPartner(attr(element, "Partner"));
|
||||||
property.setContainsTarget(Boolean.parseBoolean(attr(element, "ContainsTarget")));
|
property.setContainsTarget(Boolean.parseBoolean(attr(element, "ContainsTarget")));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue