gbif / ipt

GBIF Integrated Publishing Toolkit (IPT)
https://www.gbif.org/ipt
Apache License 2.0
128 stars 58 forks source link

Invalid EML during publication - version 3.1.0 #2561

Open AaronWilton opened 4 weeks ago

AaronWilton commented 4 weeks ago

What Attempting to publish a new resource on hosted IPT.gbif.org.nz:
https://ipt.gbif.org.nz/manage/resource.do?r=ncc_bird_counts_until_2023 IPT version 3.1.0

When publish get the message: "Invalid EML file: org.xml.sax.SAXParseException; lineNumber: 40; columnNumber: 36; cvc-complex-type.2.4.a: Invalid content was found starting with element 'electronicMailAddress'. One of '{organizationName, individualName, positionName}' is expected."

Additional info

Image

mike-podolskiy90 commented 4 weeks ago

Thanks for reporting this issue. I'll get back to you

mike-podolskiy90 commented 3 weeks ago

It seems you have an effectively empty block in the Associated parties (only role is provided). Remove it or add more data to it (at least last name or organization). I'll address IPT validation to prevent it from happening

AaronWilton commented 1 week ago

@mike-podolskiy90 - thanks - have removed for data provider and successfully published.