Ported bug fix made in version 1.4.5
This commit is contained in:
parent
93d886ba37
commit
4ece53108f
|
@ -10,6 +10,10 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
||||||
- Switched JSON management to gcube-jackson [#19735]
|
- Switched JSON management to gcube-jackson [#19735]
|
||||||
- Added support to publish an item organizations not matching the current context [#19365]
|
- Added support to publish an item organizations not matching the current context [#19365]
|
||||||
|
|
||||||
|
## [v1.4.5]
|
||||||
|
|
||||||
|
- Removed 'owner_org' field from result when reading an item #20919
|
||||||
|
|
||||||
|
|
||||||
## [v1.4.4]
|
## [v1.4.4]
|
||||||
|
|
||||||
|
|
|
@ -569,6 +569,21 @@ public class CKANPackage extends CKAN {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String read() {
|
||||||
|
try {
|
||||||
|
String ret = super.read();
|
||||||
|
result = mapper.readTree(ret);
|
||||||
|
result = cleanResult(result);
|
||||||
|
return getAsString(result);
|
||||||
|
} catch(WebApplicationException e) {
|
||||||
|
throw e;
|
||||||
|
} catch(Exception e) {
|
||||||
|
throw new InternalServerErrorException(e);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
// see https://docs.ckan.org/en/latest/api/#ckan.logic.action.create.package_create
|
// see https://docs.ckan.org/en/latest/api/#ckan.logic.action.create.package_create
|
||||||
@Override
|
@Override
|
||||||
public String create(String json) {
|
public String create(String json) {
|
||||||
|
|
Loading…
Reference in New Issue