Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource registration fails in IPT because of unknown registry error #596

Open
mike-podolskiy90 opened this issue Jul 3, 2024 · 1 comment

Comments

@mike-podolskiy90
Copy link
Contributor

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

@mike-podolskiy90
Copy link
Contributor Author

mike-podolskiy90 commented Jul 3, 2024

related IPT issues
gbif/ipt#2456 gbif/ipt#2458

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant