Bug #1479
closed
problem with referenced parties in Taxonomic Coverage
Added by Dan Higgins almost 21 years ago.
Updated almost 21 years ago.
Category:
morpho - general
Description
Attempting to use references in the party subpage of Taxonomic coverage seems to
corrupt entire package (erases referenced subtree)!
also need to check data field for proper operation!
Matthew handling "party subpage" issues;
Dan handling "check data field for proper operation".
Watch this space for updates... :-)
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.
"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...
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.
Original Bugzilla ID was 1479
Also available in: Atom
PDF