Project

General

Profile

bug #7519

Avoid static terms

Added by Andreas Kohlbecker over 1 year ago. Updated 8 months ago.

Status:
New
Priority:
Priority14
Category:
cdm-vaadin
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 over 1 year ago

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

#2 Updated by Andreas Kohlbecker about 1 year ago

  • Target version changed from Release 5.2 to Release 5.3

#3 Updated by Andreas Kohlbecker about 1 year ago

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

#4 Updated by Andreas Kohlbecker 12 months ago

  • Target version changed from Release 5.4 to Release 5.5

#5 Updated by Andreas Kohlbecker 9 months ago

  • Target version changed from Release 5.5 to Release 5.6

#6 Updated by Andreas Kohlbecker 8 months ago

  • Target version changed from Release 5.6 to Reviewed Next Major Release

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)