Project

General

Profile

bug #6756

pathToTaxon missing in /taxon/<uuid>/includedTaxa response

Added by Saskia Gennrich about 2 years ago.

Status:
New
Priority:
New
Category:
cdmlib
Target version:
Start date:
06/26/2017
Due date:
% Done:

0%

Severity:
minor
Found in Version:

Description

The response for /taxon//includedTaxa always returns an empty list for "pathToTaxon".

Example from FaunaEuropaea:

~ curl -s "http://localhost:8080/faunaeu/taxon/2459d9b4-eba7-4dec-bc1c-2b69bea58733/includedTaxa" | python -m json.tool
{
    "class": "IncludedTaxaDTO",
    "date": "2017-06-26T09:52:40.759Z",
    "includedTaxa": [
        {
            "class": "IncludedTaxon",
            "doubtful": false,
            "pathToTaxon": [],
            "taxonUuid": "2459d9b4-eba7-4dec-bc1c-2b69bea58733"
        },
        {
            "class": "IncludedTaxon",
            "doubtful": false,
            "pathToTaxon": [],
            "taxonUuid": "24e9f4e4-4123-4444-bbc4-98a25951bc50"
        },
        {
            "class": "IncludedTaxon",
            "doubtful": false,
            "pathToTaxon": [],
            "taxonUuid": "518a11af-a41b-410a-b14d-92a058699e1e"
        },
        ...
    ],
    "size": 9
}

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)