Closed sppigot closed 2 years ago
Is it necessary to add a default online resource and contact instructions for a metadata contact (mdb:contact) eg:
<cit:onlineResource>
<cit:CI_OnlineResource>
<cit:linkage>
<gco:CharacterString>https://www.delwp.vic.gov.au/maps</gco:CharacterString>
</cit:linkage>
<cit:protocol>
<gco:CharacterString>WWW:LINK-1.0-http- -related</gco:CharacterString>
</cit:protocol>
<cit:description>
<gco:CharacterString>Web page listing describing spatial information in Department of Environment, Land, Water and Planning (DELWP)</gco:CharacterString>
</cit:description>
</cit:CI_OnlineResource>
</cit:onlineResource>
<cit:contactInstructions>
<gco:CharacterString>Please consult the above link for a list of Data Distributors from whom this resource may be purchased</gco:CharacterString>
</cit:contactInstructions>
Dataset Data Manager to be used, if not populated - logic fails Ross to supply George with a list of any known errors with the Dataset data Manager to fix within MetaShare
Resolved
The way it works:
if contact with organisation_name exists and has role 'Dataset Data Manager' then use it otherwise use contact with organisation_name and role 'Dataset Contact' then use it otherwise kick out error message and use default contact details (DELWP) supplied by George earlier - see src/main/resources/DefaultContact.properties