Project

General

Profile

Actions

bug #8684

closed

ITaxonService.findTaxaByName misses initStrategy Parameter

Added by Andreas Kohlbecker about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Highest
Category:
cdmlib
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Severity:
normal
Found in Version:

Description

ITaxonService.findTaxaByName misses initStrategy Parameter causing unsolvable LIEs when using via the portal service

once implemented, pass an initStrategy from the portal controller


Related issues

Related to EDIT - bug #8676: TaxonDaoHibernateImpl.countTaxaByName misses parameter authorshipClosedAndreas Kohlbecker

Actions
Related to EDIT - task #8683: TaxonDaoHibernateImpl.countTaxaByName rename parameter authorship authorshipCache ClosedAndreas Kohlbecker

Actions
Actions #1

Updated by Andreas Kohlbecker about 3 years ago

  • Priority changed from New to Highest
Actions #2

Updated by Andreas Kohlbecker about 3 years ago

  • Related to bug #8676: TaxonDaoHibernateImpl.countTaxaByName misses parameter authorship added
Actions #3

Updated by Andreas Kohlbecker about 3 years ago

  • Related to task #8683: TaxonDaoHibernateImpl.countTaxaByName rename parameter authorship authorshipCache added
Actions #4

Updated by Andreas Kohlbecker about 3 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50
Actions #5

Updated by Andreas Kohlbecker about 3 years ago

  • Status changed from Resolved to In Progress

testing the web service (locally with the caryophlalles_spp database):

http :8081/portal/taxon/doFindByNameParts.json genusOrUninomial==Selenicereus infragenericEpithet=='*' infraspecificEpithet=='*' specificEpithet=='*' authorshipCache=='*'

causes an exception:

Caused by: 
java.lang.RuntimeException: Collection no longer expected in 'initializeNodeWildcard()'. Therefore an exception is thrown.
    at eu.etaxonomy.cdm.persistence.dao.initializer.AdvancedBeanInitializer.initializeNodeWildcard(AdvancedBeanInitializer.java:140)
    at eu.etaxonomy.cdm.persistence.dao.initializer.AdvancedBeanInitializer.initializeNode(AdvancedBeanInitializer.java:123)
    at eu.etaxonomy.cdm.persistence.dao.initializer.AdvancedBeanInitializer.initializeNodeRecursive(AdvancedBeanInitializer.java:105)
    at eu.etaxonomy.cdm.persistence.dao.initializer.AdvancedBeanInitializer.initializeNodeRecursive(AdvancedBeanInitializer.java:107)
    at eu.etaxonomy.cdm.persistence.dao.initializer.AdvancedBeanInitializer.initializeAll(AdvancedBeanInitializer.java:85)
    at eu.etaxonomy.cdm.persistence.dao.initializer.AdvancedBeanInitializer.initialize(AdvancedBeanInitializer.java:57)
    at eu.etaxonomy.cdm.persistence.dao.hibernate.taxon.TaxonDaoHibernateImpl.findTaxaByName(TaxonDaoHibernateImpl.java:995)
    at eu.etaxonomy.cdm.api.service.TaxonServiceImpl.findTaxaByName(TaxonServiceImpl.java:514)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
Actions #6

Updated by Andreas Kohlbecker about 3 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 50 to 90

the webservice is now working, tested with:

 http :8081/portal/taxon/doFindByNameParts.json genusOrUninomial==Selenicereus infragenericEpithet=='*' infraspecificEpithet=='macdonaldeae' specificEpithet=='pteranthus' authorshipCache=='*'
Actions #7

Updated by Andreas Kohlbecker about 3 years ago

also tested on t edit-test and confirmed that the service is working now

http http://test.e-taxonomy.eu/cdmserver/caryo_spp/portal/taxon/doFindByNameParts.json genusOrUninomial==Selenicereus infragenericEpithet=='*' infraspecificEpithet=='macdonaldeae' specificEpithet=='pteranthus' authorshipCache=='*'
Actions #8

Updated by Andreas Kohlbecker about 3 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 90 to 100
Actions

Also available in: Atom PDF