fixing repeated organization.websiteurl in organization entities (#5645) as well as project.ecinternationalorganizationeurinterests

This commit is contained in:
Claudio Atzori 2020-05-26 10:30:09 +02:00
parent 55595d7235
commit b8e541a454
1 changed files with 3 additions and 3 deletions

View File

@ -769,7 +769,7 @@ public class XmlRecordFactory implements Serializable {
XmlSerializationUtils.asXmlElement("websiteurl", o.getWebsiteurl().getValue())); XmlSerializationUtils.asXmlElement("websiteurl", o.getWebsiteurl().getValue()));
} }
if (o.getLogourl() != null) { if (o.getLogourl() != null) {
metadata.add(XmlSerializationUtils.asXmlElement("websiteurl", o.getLogourl().getValue())); metadata.add(XmlSerializationUtils.asXmlElement("logourl", o.getLogourl().getValue()));
} }
if (o.getEclegalbody() != null) { if (o.getEclegalbody() != null) {
@ -801,13 +801,13 @@ public class XmlRecordFactory implements Serializable {
.asXmlElement( .asXmlElement(
"echighereducation", o.getEchighereducation().getValue())); "echighereducation", o.getEchighereducation().getValue()));
} }
if (o.getEcinternationalorganization() != null) { if (o.getEcinternationalorganizationeurinterests() != null) {
metadata metadata
.add( .add(
XmlSerializationUtils XmlSerializationUtils
.asXmlElement( .asXmlElement(
"ecinternationalorganizationeurinterests", "ecinternationalorganizationeurinterests",
o.getEcinternationalorganization().getValue())); o.getEcinternationalorganizationeurinterests().getValue()));
} }
if (o.getEcinternationalorganization() != null) { if (o.getEcinternationalorganization() != null) {
metadata metadata