Issue 17764

Invalid Darwin Core Archives generated by the portal

17764
Reporter: feedback bot
Type: Bug
Summary: Invalid Darwin Core Archives generated by the portal
Priority: Critical
Resolution: Fixed
Status: Closed
Created: 2015-08-14 10:56:48.676
Updated: 2015-08-19 16:49:50.39
Resolved: 2015-08-19 16:49:50.314
        
        
Description: Hi guys,

It seems the (or at least some) of the downloads generated by the portal have a small error: the metafile reference a metadata.xml file that's not present in the archive.

Some tools will then try to open this file and get an error, see for example the following discussion for python-dwca-reader (skip the first comment):  https://github.com/BelgianBiodiversityPlatform/python-dwca-reader/issues/36

I checked in the Darwin Core Text guidelines, and it seems the metadata attribute of the archive element is not required by the standard, so I suggest to simply omit it at archive generation... What do you think?

Thanks,

Nicolas]]>
    


Author: mdoering@gbif.org
Comment: This should clearly not be the case. Every download should have a metadata.xml file
Created: 2015-08-14 12:53:01.242
Updated: 2015-08-14 12:53:01.242


Author: mdoering@gbif.org
Comment: Verified that download http://www.gbif.org/occurrence/download/0000863-150811131857512 lacks metadata
Created: 2015-08-14 13:47:52.738
Updated: 2015-08-14 13:47:52.738


Author: fmendez@gbif.org
Created: 2015-08-19 16:49:50.375
Updated: 2015-08-19 16:49:50.375
        
gbif_user parameter was missing
https://github.com/gbif/occurrence/commit/3839bfdc598820054ebdc0255ed6b48a74671665
new occurrence version was released and deployed
https://github.com/gbif/occurrence/releases/tag/occurrence-motherpom-0.34.1