Project

General

Profile

bug #7519

Avoid static terms

Added by Andreas Kohlbecker 7 months ago. Updated 3 months ago.

Status:
New
Priority:
Priority14
Category:
cdm-vaadin
Target version:
Start date:
06/27/2018
Due date:
% Done:

0%

Severity:
normal
Found in Version:
Tags:

Description

static terms defined in KindOfUnitTerms are directly used in other classes:

  • RegistrationRequiredDataInserter
  • RegistrationTermLists
  • SpecimenTypeDesignationDTO
  • SpecimenTypeDesignationDTORow

This works without problems in these cases, but using static term is discouraged in general.

TODO:

  • Avoid static terms use static UUIDs instead and load the terms from the persistent storage.
  • In all situations where terms are used in select lists the terms must be in the same vocabulary, Therefore it would be better to create the term lists only by loading the vocabulary.

Related issues

Copied from Edit - bug #7313: eu.etaxonomy.cdm.dataInserter.RegistrationRequiredDataInserter add all terms to vocabulary Closed 03/15/2018

History

#1 Updated by Andreas Kohlbecker 7 months ago

  • Copied from bug #7313: eu.etaxonomy.cdm.dataInserter.RegistrationRequiredDataInserter add all terms to vocabulary added

#2 Updated by Andreas Kohlbecker 5 months ago

  • Target version changed from Release 5.2 to Release 5.3

#3 Updated by Andreas Kohlbecker 5 months ago

  • Priority changed from Highest to Priority14
  • Target version changed from Release 5.3 to Release 5.4

#4 Updated by Andreas Kohlbecker 3 months ago

  • Target version changed from Release 5.4 to Release 5.5

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)