Supporting read of GRSF records
This commit is contained in:
parent
43b8fbbacd
commit
1082e60f81
|
@ -837,7 +837,10 @@ public class CKANPackage extends CKAN implements Moderated {
|
|||
this.itemID = result.get(ID_KEY).asText();
|
||||
}
|
||||
this.itemTitle = result.get(TITLE_KEY).asText();
|
||||
this.itemURL = getExtraField(result, EXTRAS_ITEM_URL_KEY).asText();
|
||||
JsonNode node = getExtraField(result, EXTRAS_ITEM_URL_KEY);
|
||||
if(node!=null) {
|
||||
this.itemURL = node.asText();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue