Fixing patch

This commit is contained in:
Luca Frosini 2022-10-03 17:02:27 +02:00
parent ec11c9f8ab
commit fc80d7912d
1 changed files with 1 additions and 5 deletions

View File

@ -876,11 +876,6 @@ public class CKANPackage extends CKAN implements Moderated {
try {
this.updateOperation = true;
/*
* Going to read the item from CKAN just to check the item status.
* I need to reset the result first because the current contains
* the extras as sent by the client which are not trusted
*/
this.result = null;
readItem();
@ -952,6 +947,7 @@ public class CKANPackage extends CKAN implements Moderated {
try {
this.updateOperation = true;
this.result = null;
readItem();
JsonNode jsonNode = checkBaseInformation(json, true);