merged fix done in the master branch related to #22691

task_21643
Francesco Mangiacrapa 2 years ago
parent b36ffbe43e
commit 361a1dffcb

@ -10,25 +10,32 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
**New Features**
[#21643] Integrated with the content-moderator-system facilities
## [v1.0.3] - 2022-01-21
**Fixes**
- [#22691] Share Link on private items does not work
## [v1.0.2] - 2021-06-03
**Fixes**
[#21560] Bug fixing property "visibility" Restricted/Public
- [#21560] Bug fixing property "visibility" Restricted/Public
## [v1.0.1] - 2021-05-11
**Fixes**
[#21387] Harmonize the jackson version to v.2.8.11
Moved to maven-portal-bom.3.6.2
- [#21387] Harmonize the jackson version to v.2.8.11
- Moved to maven-portal-bom.3.6.2
## [v1.0.0] - 2021-02-17
**Bug Fixes**
[#21259] remove the method that validates the URL
- [#21259] remove the method that validates the URL
**New Features**
[#21153] Upgrade the maven-portal-bom to 3.6.1 version
[#20828] Revisited title size and format
[#19378] First Release
- [#21153] Upgrade the maven-portal-bom to 3.6.1 version
- [#20828] Revisited title size and format
- [#19378] First Release

@ -790,6 +790,7 @@ public class DataCatalogueImpl implements DataCatalogue {
// in order to avoid errors, the username is always converted
String ckanUsername = CatalogueUtilMethods.fromUsernameToCKanUsername(username);
LOG.debug("username: "+username + " converted to ckanUsername: "+ckanUsername);
// check in the hashmap first
if (apiKeysMap.containsKey(ckanUsername)) {
@ -803,7 +804,7 @@ public class DataCatalogueImpl implements DataCatalogue {
try {
String apiToReturn = dbCaller.getApiKeyFromUsername(username, State.ACTIVE.name().toLowerCase());
String apiToReturn = dbCaller.getApiKeyFromUsername(ckanUsername, State.ACTIVE.name().toLowerCase());
// save into the hashmap
if (apiToReturn != null)

Loading…
Cancel
Save