Project

General

Profile

Revision a82e8663

IDa82e86638648b9f59c647b457969eaf784d0dfdd
Parent db7c13f4
Child cd53ed98

Added by Patrick Plitzner about 3 years ago

ref #6042 Avoid -title cache generation not implemented- for citations
in specimen table view

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/OccurrenceServiceImpl.java
462 462

  
463 463
        // assemble citation
464 464
        String citation = fieldUnit.getTitleCache();
465
        if((CdmUtils.isBlank(citation) || citation.contains("title cache generation not implemented"))
466
                && !fieldUnit.isProtectedTitleCache()){
467
            fieldUnit.setTitleCache(null);
468
            citation = fieldUnit.getTitleCache();
469
        }
465 470
        if (!preservedSpecimenAccessionNumbers.isEmpty()) {
466 471
            citation += " (";
467 472
            for (String accessionNumber : preservedSpecimenAccessionNumbers) {

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)