|
|
|
@ -654,11 +654,12 @@ public class CKANPackage extends CKAN {
|
|
|
|
|
@Override
|
|
|
|
|
public String patch(String json) {
|
|
|
|
|
try {
|
|
|
|
|
JsonNode jsonNode = checkBaseInformation(json);
|
|
|
|
|
JsonNode jsonNode = checkBaseInformation(json, true);
|
|
|
|
|
|
|
|
|
|
read();
|
|
|
|
|
|
|
|
|
|
this.itemID = result.get(ID_KEY).asText();
|
|
|
|
|
((ObjectNode)jsonNode).put(ID_KEY, this.itemID);
|
|
|
|
|
|
|
|
|
|
Map<String,CKANResource> originalResources = new HashMap<>();
|
|
|
|
|
ArrayNode originalResourcesarrayNode = (ArrayNode) result.get(RESOURCES_KEY);
|
|
|
|
|