Fixes bug on fetching external Oragnisation and Researchers.

This commit is contained in:
gkolokythas 2019-10-31 13:55:52 +02:00
parent c988d5ab10
commit 2a232b3071
2 changed files with 3 additions and 1 deletions

View File

@ -220,7 +220,7 @@ public class RemoteFetcher {
try { try {
URL url = new URL(urlString); URL url = new URL(urlString.replace(" ", "%20"));
HttpURLConnection con = (HttpURLConnection) url.openConnection(); HttpURLConnection con = (HttpURLConnection) url.openConnection();
con.setRequestMethod("GET"); con.setRequestMethod("GET");

View File

@ -551,6 +551,7 @@
<name>'name'</name> <name>'name'</name>
<uri>'uri'</uri> <uri>'uri'</uri>
<description>'description'</description> <description>'description'</description>
<count>'count'</count>
</fields> </fields>
</data> </data>
<paginationpath>$['meta']['pagination']['page','pages','count']</paginationpath> <paginationpath>$['meta']['pagination']['page','pages','count']</paginationpath>
@ -613,6 +614,7 @@
<name>'name'</name> <name>'name'</name>
<uri>'uri'</uri> <uri>'uri'</uri>
<description>'description'</description> <description>'description'</description>
<count>'count'</count>
</fields> </fields>
</data> </data>
<paginationpath>$['meta']['pagination']['page','pages','count']</paginationpath> <paginationpath>$['meta']['pagination']['page','pages','count']</paginationpath>