Project

General

Profile

Revision d6c56cdc

IDd6c56cdcf6120a855a432f4ff9f58cef90fa8cda
Parent a81acd75
Child 8a17aa3e

Added by Andreas Müller over 2 years ago

ref #6682 further fixes for taxon relationship formatting - fix referenced entity issues

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/format/taxon/TaxonRelationshipFormatter.java
165 165
            }
166 166
            TagEnum secType = isSensu? TagEnum.sensuReference : isRelation? TagEnum.relSecReference : TagEnum.secReference;
167 167
            TaggedText refTag = TaggedText.NewInstance(secType, secRef);
168
            refTag.setEntityReference(new TypedEntityReference<>(CdmBase.deproxy(ref.getClass()), ref.getUuid(), secRef));
168
            refTag.setEntityReference(new TypedEntityReference<>(CdmBase.deproxy(ref).getClass(), ref.getUuid()));
169 169
            result.add(refTag);
170 170
        }
171 171
        if (isNotBlank(detail)){

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)