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

MODHAADM-105: Unhandled exception when reading PURGE_LOGS_AFTER #125

Closed
wants to merge 1 commit into from

Conversation

julianladisch
Copy link
Contributor

https://folio-org.atlassian.net/browse/MODHAADM-105

Parsing the response may fail when doing "new JsonObject(response)", "getJsonArray" or "getJsonObject".

The parse error is not handled because the code is in "onSuccess(", therefor the request hangs forever.

Fix:

Use map, not onSuccess.

Avoid Promise that almost always is wrong and can be replaced with Future returning calls.

In addition fix CQL and percent encoding.

https://folio-org.atlassian.net/browse/MODHAADM-105

Parsing the response may fail when doing "new JsonObject(response)", "getJsonArray" or "getJsonObject".

The parse error is not handled because the code is in "onSuccess(", therefor the request hangs forever.

Fix:

Use map, not onSuccess.

Avoid Promise that almost always is wrong and can be replaced with Future returning calls.

In addition fix CQL and percent encoding.
@julianladisch
Copy link
Contributor Author

Obsoleted by #126

@julianladisch julianladisch deleted the MODHAADM-105 branch November 25, 2024 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant