Bug #1479
closedproblem with referenced parties in Taxonomic Coverage
0%
Description
Attempting to use references in the party subpage of Taxonomic coverage seems to
corrupt entire package (erases referenced subtree)!
Updated by Dan Higgins over 20 years ago
also need to check data field for proper operation!
Updated by Matthew Brooke over 20 years ago
Matthew handling "party subpage" issues;
Dan handling "check data field for proper operation".
Watch this space for updates... :-)
Updated by Dan Higgins over 20 years ago
There was a data formatting problem is the publication date field. Java
DataFormat was used to check, but it was not set to accept the EML specified
format of YYY-MM-DD. This validation was removed and a help label was added to
show an example of the correct format.
Ideally we should let the user input the date in a variety of formats and then
reformat it properly automatically.
Updated by Matthew Brooke over 20 years ago
"erases referenced subtree" issue due to DataPackageWizardPlugin
deleteExistingAndAddPageDataToDOM() method - this method:
" * deletes <em>all</em> existing subtrees of name subtreeGenericName, then
* inserts data for each AbstractUIPage in pageList into the passed
* AbstractDataPackage"
...so, when it is called by the CitationPage class, it is passed the generic
name "creator" (because the party in citation is called the creator
(citation/creator), which in turn means that the dataset/creator subtree(s) are
also deleted (but never re-written). Now working on a backward-compatible
solution...
Updated by Matthew Brooke over 20 years ago
DataPackageWizardPlugin deleteExistingAndAddPageDataToDOM() method was working
correctly; however, calling code was passing incorrect generic name (as defined
in lib/eml200KeymapConfig.xml). Was using generic name for /eml:eml/dataset/creator
Added a new generic name and insertion details to lib/eml200KeymapConfig.xml,
and added dummy taxon citation title node to wizard's dummy datapackage in
WizardSettings.java.