Open mike-podolskiy90 opened 3 months ago
If publishingOrganizationKey or installationKey is not present in the database, registry fails to process a request. Issues are here:
https://github.com/gbif/registry/blob/dev/registry-ws/src/main/java/org/gbif/registry/ws/util/LegacyResourceUtils.java#L139 https://github.com/gbif/registry/blob/dev/registry-ws/src/main/java/org/gbif/registry/ws/util/LegacyResourceUtils.java#L151
organizationService and installationService throw NotFoundException instead of retruning null
NotFoundException
related IPT issues https://github.com/gbif/ipt/issues/2456 https://github.com/gbif/ipt/issues/2458
If publishingOrganizationKey or installationKey is not present in the database, registry fails to process a request. Issues are here:
https://github.com/gbif/registry/blob/dev/registry-ws/src/main/java/org/gbif/registry/ws/util/LegacyResourceUtils.java#L139 https://github.com/gbif/registry/blob/dev/registry-ws/src/main/java/org/gbif/registry/ws/util/LegacyResourceUtils.java#L151
organizationService and installationService throw
NotFoundException
instead of retruning null