bug #6645
closed
area data parameter missing in portal/description/distributionInfoFor response
Added by Andreas Kohlbecker almost 7 years ago.
Updated almost 7 years ago.
Description
This problem seems to be specific to the Fauna Europaea data.
http://test.e-taxonomy.eu/cdmserver/fauna_europaea/portal/description/distributionInfoFor/3610bdd7-7432-4d43-9f6e-6684deb82987.json?part=mapUriParams
in the response the ad parameter is missing:
{
"condensedDistribution": null,
"elements": [ ],
"tree": null,
"class": "DistributionInfoDTO",
"mapUriParams": "as=a:ffffff,,0.1,|b:4daf4a,,0.1,&ad=&title=b:present|a:absent"
}
Gibt es hier schon neue Informationen?
Das sind glaub ich die zugehörigen Log-Nachrichten vom cdm-Server
cdm_1 | [faunaeu] 2017-05-31 09:08:23,066 INFO [eu.etaxonomy.cdm.remote.controller.BaseListController] - doGetDistributionInfo() - GET: /faunaeu/portal/description/distributionInfoFor/2f0b2aad-8cad-4373-8e68-557fec0076f0?recipe=EuroPlusMed&statusOrderPreference=1&hiddenAreaMarkerType=&part=mapUriParams&part=tree
cdm_1 | [faunaeu] 2017-05-31 09:08:23,076 WARN [eu.etaxonomy.cdm.api.service.DistributionTree] - area.partOf is NULL for Yugoslavia, area is of type: class eu.etaxonomy.cdm.model.location.NamedArea_$$_jvstd95_27 target object is class eu.etaxonomy.cdm.model.location.NamedArea
cdm_1 | [faunaeu] 2017-05-31 09:08:23,076 WARN [eu.etaxonomy.cdm.api.service.DistributionTree] - area.partOf is NULL for Andorra, area is of type: class eu.etaxonomy.cdm.model.location.NamedArea_$$_jvstd95_27 target object is class eu.etaxonomy.cdm.model.location.NamedArea
cdm_1 | [faunaeu] 2017-05-31 09:08:23,076 WARN [eu.etaxonomy.cdm.api.service.DistributionTree] - area.partOf is NULL for Sardinia, area is of type: class eu.etaxonomy.cdm.model.location.NamedArea_$$_jvstd95_27 target object is class eu.etaxonomy.cdm.model.location.NamedArea
...
- Category changed from cdmlib to data
- Assignee changed from Andreas Kohlbecker to Saskia Gennrich
- Target version deleted (
Release 4.8)
Hi Saskia,
this is only a problem of missing data. After a fresh import the mapping between the named areas and the map layer must established.
This is usually done by sending a special web service call to the server.
You will find the according URLs in the ticket #5653 (Establish mapping of fauna europeae area terms to the map layer)
This ticket also includes the required csv file and a hint on finding the required vocabulary uuid.
All the best
Andreas
- Status changed from New to Closed
Also available in: Atom
PDF