Project

General

Profile

Actions

bug #7313

closed

eu.etaxonomy.cdm.dataInserter.RegistrationRequiredDataInserter add all terms to vocabulary

Added by Andreas Kohlbecker about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Highest
Category:
cdm-vaadin
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Severity:
normal
Found in Version:
Tags:

Description

Im eu.etaxonomy.cdm.dataInserter.RegistrationRequiredDataInserter werden KindOfUnitTerms angelegt:

if(repo.getTermService().find(KindOfUnitTerms.SPECIMEN().getUuid()) == null){
repo.getTermService().save(KindOfUnitTerms.SPECIMEN());
}
if(repo.getTermService().find(KindOfUnitTerms.PUBLISHED_IMAGE().getUuid()) == null){
repo.getTermService().save(KindOfUnitTerms.PUBLISHED_IMAGE());
}
if(repo.getTermService().find(KindOfUnitTerms.UNPUBLISHED_IMAGE().getUuid()) == null){
repo.getTermService().save(KindOfUnitTerms.UNPUBLISHED_IMAGE());
}
if(repo.getTermService().find(KindOfUnitTerms.CULTURE_METABOLIC_INACTIVE().getUuid()) == null){
repo.getTermService().save(KindOfUnitTerms.CULTURE_METABOLIC_INACTIVE());
}

Die müssen in ein Vocab.

a.mueller:

Ja, das sollte man dann in den Inserter mit aufnehmen.
Möglichst die UUID von dem voc aus Phycobank nehmen, damit immer die selbe verwendet wird.


Related issues

Related to EDIT - bug #8995: Guarantee a term always has a vocabularyNewAndreas Müller

Actions
Copied to EDIT - bug #7519: Avoid static termsNewAndreas Kohlbecker

Actions
Actions

Also available in: Atom PDF