Project

General

Profile

« Previous | Next » 

Revision f665e780

Added by Katja Luther about 6 years ago

ref #6429: adapt admin preferences to other preferences

View differences:

eu.etaxonomy.taxeditor.test/src/test/java/eu/etaxonomy/taxeditor/lazyloading/PropertyPathsTest.java
19 19
import eu.etaxonomy.cdm.api.service.ITaxonService;
20 20
import eu.etaxonomy.cdm.model.common.CdmBase;
21 21
import eu.etaxonomy.cdm.model.name.TaxonName;
22
import eu.etaxonomy.cdm.model.taxon.Synonym;
23 22
import eu.etaxonomy.cdm.model.taxon.Taxon;
24 23
import eu.etaxonomy.cdm.model.taxon.TaxonBase;
25 24
import eu.etaxonomy.cdm.model.taxon.TaxonRelationship;
......
43 42
        // load taxon Crepis from cichorieae
44 43
        UUID taxonBaseUuid = UUID.fromString("d0ae2121-1c32-4737-8c49-f871d429fd90");
45 44
        List<String> taxonBasePropertyPaths = Arrays.asList(new String[] {
46
                "synonymRelations.synonym.name.status.type",
47
                "name.homotypicalGroup.typifiedNames.taxonBases.synonymRelations.relatedFrom.name.status"
45
                "synonym.synonym.name.status.type",
46
                "name.homotypicalGroup.typifiedNames.taxonBases.synonyms.relatedFrom.name.status"
48 47
        });
49 48
        TaxonBase taxonBase = CdmStore.getService(ITaxonService.class).load(taxonBaseUuid, taxonBasePropertyPaths);
50 49
        Taxon taxon = CdmBase.deproxy(taxonBase, Taxon.class);

Also available in: Unified diff