Project

General

Profile

Revision 2a5271ca

ID2a5271cac0b0341736ba10e6b0656b395bd75147
Parent 6502851f
Child 5a2cdd34

Added by Patrick Plitzner over 1 year ago

fix #6437 Generate title caches to avoid outdated information

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/TaxonNameEditorE4.java
673 673
    }
674 674

  
675 675
    public void setPartName(){
676
        thisPart.setLabel(this.taxon.getName().getFullTitleCache());
676
        //FIXME: temporary fix for #6437 to avoid outdated title caches
677
        thisPart.setLabel(this.taxon.getName().generateFullTitle());
678
//        thisPart.setLabel(this.taxon.getName().getFullTitleCache());
677 679
    }
678 680

  
679 681
    @Override
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/selection/EntitySelectionElementWithAbbreviatedTitle.java
33 33
		    if(entity instanceof TeamOrPersonBase) {
34 34
		        return ((TeamOrPersonBase) entity).getNomenclaturalTitle();
35 35
		    } else if(entity instanceof Reference){
36
		        return ((Reference) entity).getAbbrevTitleCache();
36
		      //FIXME: temporary fix for #6437 to avoid outdated title caches
37
		        return ((Reference) entity).generateAbbrevTitle();
38
//		        return ((Reference) entity).getAbbrevTitleCache();
37 39
		    } else{
38 40
		        return super.getTitle();
39 41
		    }

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)