15522
Reporter: trobertson
Assignee: mdoering
Type: Bug
Summary: Downloads use DC terms that don't exist
Resolution: Fixed
Status: Resolved
Created: 2014-04-13 19:29:57.508
Updated: 2014-04-15 18:40:10.98
Resolved: 2014-04-15 14:46:31.296
Description: ]]>
Author: fmendez@gbif.org
Created: 2014-04-14 09:23:45.586
Updated: 2014-04-14 09:23:45.586
the enum is using "abstract_" instead of "abstract"...we have to either change the enum value or modify the term name while the download is being created:
public enum DcTerm implements Term, AlternativeNames {
abstract_,
...
}
Author: mdoering@gbif.org
Created: 2014-04-14 10:00:47.171
Updated: 2014-04-14 10:00:47.171
This appears to be a simple bug. For term names we must use the simpleName() method, not name(), which would return the correct value.
See DcTerm.simpleName()
Author: mdoering@gbif.org
Created: 2014-04-15 14:46:08.641
Updated: 2014-04-15 14:46:08.641
download used hive columns instead of simple term names.
Fixed in https://github.com/gbif/occurrence/commit/210d00fd2d3db411be932a07bb2077f8a63bf739
Author: mdoering@gbif.org
Created: 2014-04-15 18:40:10.9
Updated: 2014-04-15 18:40:10.9
another fix needed for qualified names used in the meta.xml:
https://github.com/gbif/dwc-api/commit/08716679506337c9e366c6db587b594715d5067a