Project

General

Profile

Actions

bug #10506

open

Hidden fields are saved in taxon name registration editor

Added by Andreas Müller 4 months ago. Updated 4 months ago.

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

0%

Estimated time:
Severity:
normal
Found in Version:

Description

Changing the rank of a name from e.g. an infraspecific rank to a non-infraspecific rank hides the the not-required fields (here the field for the infraspecific epithet) but does not delete the value.

So when saving the name the name is stored e.g. as a species but with a infra.spec. epithet set. This is not visible as the name formatter does not show the epithet. Only when changing the rank back to infraspecific or by checking the database it can be seen that the infr.spec. epithet was stored in the DB.

The same happens when e.g. switching on and off the "with basionym" checkbox and selecting a basionym. Even if the selected basionym is not visible anymore it will be stored.

As a first step the correct behaviour for changing values that do hide other fields (or more general do have an impact on other fields) should be defined. In a next step it should be implemented.
Also other forms should be checked for such inconsistencies.

====

Developer notes: related classes: TaxonNamePopupEditor, TaxonNameEditorPresenter (maybe also TaxonNameStringFilterablePagingProvider and WeaklyRelatedEntityCombobox)


Related issues

Related to EDIT - bug #10497: Specific epithet list is not limited to epithets existing for the genus (was: Vaadin selected epithet is gone when a record is re-opened)ClosedAndreas Müller

Actions
Actions #1

Updated by Andreas Müller 4 months ago

  • Priority changed from New to Priority14
Actions #2

Updated by Andreas Müller 4 months ago

  • Related to bug #10497: Specific epithet list is not limited to epithets existing for the genus (was: Vaadin selected epithet is gone when a record is re-opened) added
Actions #3

Updated by Andreas Müller 4 months ago

  • Assignee changed from Andreas Müller to Wolf-Henning Kusber

Assign to WHK for the first step ("documentation").

Actions

Also available in: Atom PDF