taupilu / gbif-providertoolkit

Automatically exported from code.google.com/p/gbif-providertoolkit
0 stars 1 forks source link

alternative identifier form missing #514

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There is no way in the EML forms to enter alternative identifiers, e.g. a DOI.
A list of alt ids should either go into External links or Additional Metadata

Original issue reported on code.google.com by wixner@gmail.com on 14 Dec 2010 at 4:04

GoogleCodeExporter commented 9 years ago
ok, i'll add the fields in Additional Metadata section

Original comment by daniel.amariles88 on 15 Dec 2010 at 1:38

GoogleCodeExporter commented 9 years ago
I think i got this done with changes of r2671   
but couldn't test it because i got a NPE when saving the pubDate.

java.lang.NullPointerException
        at java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1235)
        at java.text.DateFormat.parse(DateFormat.java:335)
        at org.gbif.metadata.DateUtils.calendarDate(DateUtils.java:47)
        at org.gbif.metadata.eml.Eml.setPubDate(Eml.java:839)

Original comment by daniel.amariles88 on 15 Dec 2010 at 3:36

GoogleCodeExporter commented 9 years ago

Original comment by daniel.amariles88 on 15 Dec 2010 at 9:33

GoogleCodeExporter commented 9 years ago
A default alternate identifier is created using the "eml.guid" attribute.

Should it be deleted in the eml.ftl?
if not, should we let the user to change it? it has to be visible?

Original comment by htobon on 17 Dec 2010 at 3:56

GoogleCodeExporter commented 9 years ago
either remove it or make it immutable - its derived from the resource home URL 
incl the shortname parameter. See Eml.setPackageId() who triggers the setGuid().

Original comment by wixner@gmail.com on 20 Dec 2010 at 5:40

GoogleCodeExporter commented 9 years ago
ok, guid removed in http://code.google.com/p/darwincore/source/detail?r=1237
and alternative identifiers fields validated in r2707 

Original comment by daniel.amariles88 on 20 Dec 2010 at 6:55