Project

General

Profile

feature request #6691

Implement all name types in NameDetailElement

Added by Andreas Müller about 2 years ago. Updated over 1 year ago.

Status:
Duplicate
Priority:
New
Assignee:
Category:
taxeditor
Target version:
-
Start date:
06/05/2017
Due date:
% Done:

10%

Severity:
normal

Description

It is now possible to switch name types easily. So we should allow to edit all name types, not only ICNAFP and ICZN.


Related issues

Related to Edit - feature request #6361: [MASTER] Merge all TaxonName classes into 1 class Closed 01/21/2017
Duplicated by Edit - feature request #6693: Implement missing nomenclatural codes for name detail element Closed 06/06/2017

History

#1 Updated by Andreas Müller about 2 years ago

  • Parent task deleted (#6361)

#2 Updated by Andreas Müller about 2 years ago

#3 Updated by Andreas Müller almost 2 years ago

  • Target version changed from Release 4.8 to Release 4.9

#4 Updated by Andreas Müller almost 2 years ago

  • Target version changed from Release 4.9 to Release 4.10

#5 Updated by Katja Luther almost 2 years ago

  • Assignee changed from Katja Luther to Andreas Müller

All name types are available in drop down list. Switching between zoological and botanical codes also switching the available fields. There are any special fields for fungi or viruses??

#6 Updated by Andreas Müller almost 2 years ago

Katja Luther wrote:

Are there any special fields for fungi or viruses?

Please refere to the according interfaces (IViralName, IFungusName, ...) to adapt the UI properly.

#7 Updated by Andreas Müller almost 2 years ago

  • Assignee changed from Andreas Müller to Katja Luther

#8 Updated by Andreas Müller almost 2 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 10

#9 Updated by Katja Luther almost 2 years ago

if the name once is set to viral, the getTaggedName method returns always null.

else if (nonViralName.getNameType().isViral()){
            return null;
        }

we should remove the viral nomanclatural code to avoid this, because at the moment everything is based on INonViralName.

java.lang.NullPointerException
    at java.util.ArrayList.addAll(Unknown Source)
    at eu.etaxonomy.cdm.strategy.cache.name.TaxonNameDefaultCacheStrategy.getTaggedTitle(TaxonNameDefaultCacheStrategy.java:410)
    at eu.etaxonomy.cdm.strategy.cache.name.NameCacheStrategyBase.getTitleCache(NameCacheStrategyBase.java:150)
    at eu.etaxonomy.cdm.strategy.cache.name.NameCacheStrategyBase.getTitleCache(NameCacheStrategyBase.java:145)
    at eu.etaxonomy.cdm.strategy.cache.name.NameCacheStrategyBase.getTitleCache(NameCacheStrategyBase.java:1)
    at eu.etaxonomy.cdm.model.common.IdentifiableEntity.generateTitle(IdentifiableEntity.java:570)
    at eu.etaxonomy.cdm.model.common.IdentifiableEntity.getTitleCache(IdentifiableEntity.java:210)
    at eu.etaxonomy.cdm.model.name.TaxonName.getTitleCache(TaxonName.java:1446)
    at eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection.setSectionTitle(AbstractCdmDetailSection.java:149)
    at eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection.updateTitle(AbstractCdmDetailSection.java:169)
    at eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement.updateParentSection(AbstractCdmDetailElement.java:252)
    at eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement.handleTitleCacheRelevantChange(AbstractCdmDetailElement.java:244)
    at eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement.propertyChange(AbstractCdmDetailElement.java:210)
    at eu.etaxonomy.taxeditor.ui.element.AbstractCdmFormElement.firePropertyChangeEvent(AbstractCdmFormElement.java:235)
    at eu.etaxonomy.taxeditor.ui.element.AbstractCdmFormElement.firePropertyChangeEvent(AbstractCdmFormElement.java:263)
    at eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement.propertyChange(AbstractCdmDetailElement.java:229)
    at eu.etaxonomy.taxeditor.ui.element.AbstractCdmFormElement.firePropertyChangeEvent(AbstractCdmFormElement.java:235)
    at eu.etaxonomy.taxeditor.ui.combo.EnumComboElement.widgetSelected(EnumComboElement.java:184)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)

#10 Updated by Katja Luther almost 2 years ago

  • Status changed from In Progress to Resolved
  • Assignee changed from Katja Luther to Andreas Müller

I removed the viral code from the drop down. Created a new ticket for this and close this one.(#6950)

#11 Updated by Andreas Müller over 1 year ago

Is there a difference between this ticket and #6693 or is it a duplicate?

#12 Updated by Andreas Müller over 1 year ago

  • Assignee changed from Andreas Müller to Katja Luther

To me this seems to be a duplicate for 6693 (or vice versa). Please see my comments on #6693.

#13 Updated by Katja Luther over 1 year ago

  • Status changed from Resolved to Duplicate
  • Target version deleted (Release 4.10)

I think this is a duplicate

#14 Updated by Katja Luther over 1 year ago

  • Duplicated by feature request #6693: Implement missing nomenclatural codes for name detail element added

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)