Project

General

Profile

Revision 387f1cf1

ID387f1cf1049dcda4829cbc80f230ba35de8eaceb
Parent 763eed56
Child f81ce9c8

Added by Andreas Müller 5 months ago

fix #7924 fix LIE in TaxonPortalController getSynonymy with subtree filter

View differences:

cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/TaxonController.java
96 96
    private ITermService termService;
97 97

  
98 98
    protected static final List<String> TAXONNODE_INIT_STRATEGY = Arrays.asList(new String []{
99
            "taxonNodes.classification"
99
            "taxonNodes.classification","acceptedTaxon.taxonNodes.classification"
100 100
    });
101 101

  
102 102
    public TaxonController(){
cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/TaxonPortalController.java
289 289
            logger.info("doGetSynonymy() " + requestPathAndQuery(request));
290 290
        }
291 291
        ModelAndView mv = new ModelAndView();
292
        Taxon taxon = getCdmBaseInstance(Taxon.class, uuid, response, (List<String>)null);
292

  
293
        Taxon taxon = getCdmBaseInstance(Taxon.class, taxonUuid, response, TAXONNODE_INIT_STRATEGY);
293 294
        TaxonNode subtree = getSubtreeOrError(subtreeUuid, taxonNodeService, response);
294 295
        taxon = checkExistsSubtreeAndAccess(taxon, subtree, NO_UNPUBLISHED, response);
295 296

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)