Project

General

Profile

Revision 01371d61

ID01371d61f272896fd8fafed21be805016370c779
Parent 5e188bc9
Child cd175378

Added by Patrick Plitzner about 1 year ago

ref #7686 Use titleCache if no identifier can be found

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/OccurrenceServiceImpl.java
540 540
                collectionKey, FormatKey.SPACE,
541 541
                FormatKey.MOST_SIGNIFICANT_IDENTIFIER, FormatKey.SPACE });
542 542
        if(CdmUtils.isBlank(specimenIdentifier)){
543
            specimenIdentifier = derivedUnit.getTitleCache();
544
        }
545
        if(CdmUtils.isBlank(specimenIdentifier)){
543 546
            specimenIdentifier = derivedUnit.getUuid().toString();
544 547
        }
545 548
        preservedSpecimenDTO.setAccessionNumber(specimenIdentifier);

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)