Publications for non-Participant countries not showing
14173
Reporter: thirsch
Assignee: cvizitiu
Type: Bug
Summary: Publications for non-Participant countries not showing
Priority: Critical
Resolution: Fixed
Status: Closed
Created: 2013-10-08 06:10:23.814
Updated: 2013-12-19 16:31:49.683
Resolved: 2013-12-19 16:30:47.945
Description: Currently the country page Publication tabs for countries not participating in GBIF are not showing any content. See screenshot example for Italy: Mendeley includes many research papers tagged Italy but the page is saying there are no publications. This is especially critical for countries such as China where we need to show the GB that scientists are using GBIF even when the country is not a Participant.
*Reporter*: Tim Hirsch
*E-mail*: [mailto:thirsch]]]>
Author: mdoering@gbif.org
Created: 2013-10-08 23:24:09.959
Updated: 2013-10-08 23:24:09.959
Looks to me like a Drupal issue Cip needs to look at. The corresponding drupal service does not return anything at all:
http://www.gbif.org/mendeley/country/IT/json
Here is a good example for france:
http://www.gbif.org/mendeley/country/FR/json
Author: cvizitiu@gbif.org
Comment: Burke's [~bko@gbif.org] Mendeley code did not produce any JSON file output for Italy. The bug has been wrongfully assigned IMHO...
Created: 2013-10-09 10:44:08.063
Updated: 2013-10-09 10:44:08.063
Author: mdoering@gbif.org
Comment: If thats the case lets assign it to burke. [~bko@gbif.org], can you make sure there is always at least an empty list returned in case nothing exists?
Created: 2013-10-09 11:06:35.095
Updated: 2013-10-09 11:08:04.758
Author: bko@gbif.org
Comment: I am looking into that. Yes I'll provide a message if there is no document for that country.
Created: 2013-10-09 11:13:55.822
Updated: 2013-10-09 11:13:55.822
Author: bko@gbif.org
Created: 2013-10-09 11:51:01.689
Updated: 2013-10-09 11:51:01.689
The reason why no data shown for non-GBIF countries is that the module for now only groups documents by countries available from this call:
http://api.gbif.org/v0.9/node/country
I am now modifying that to include all countries.
Author: bko@gbif.org
Created: 2013-10-09 15:09:42.396
Updated: 2013-10-09 15:09:42.396
Attached the latest version containing the fix for this issue.
Cip please reinstall npt_mendeley module to ensure the npt_mendeley_tags variable is refreshed and includes non-participant countries. If you don't want to wait until the journal names are retrieved, please extract the npt_mendeley_files.zip file and overwrite files/npt_mendeley folder in Drupal.
This fix also includes an error message if there is no document for the requested call.
Author: bko@gbif.org
Comment: Please close this issue when the fix is verified. Thanks.
Created: 2013-10-09 15:10:53.3
Updated: 2013-10-09 15:10:53.3
Author: ahahn@gbif.org
Comment: Back over to you, [~cvizitiu@gbif.org]...
Created: 2013-10-09 15:34:21.82
Updated: 2013-10-09 15:34:21.82