Skip to content

Issue 53120: remove processRequest, use getCallbackWrapper #1814

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

Merged
merged 5 commits into from
Jun 25, 2025

Conversation

labkey-nicka
Copy link
Contributor

@labkey-nicka labkey-nicka commented Jun 23, 2025

Rationale

This addresses Issue 53120 by removing the client-side redundant processing of request payloads and deferring to the commonly used Utils.getCallbackWrapper().

Related Pull Requests

Changes

  • Remove the post-processing processRequest() that was handling the scenario where the content did not match the content type (e.g. a JSON payload where the content-type header is html or something else).
  • Update reports-browseDataTree.api endpoint wrapper to not perform its own JSON parsing and use getCallbackWrapper() instead.

@labkey-nicka labkey-nicka merged commit 249bfdd into develop Jun 25, 2025
3 checks passed
@labkey-nicka labkey-nicka deleted the fb_request_53120 branch June 25, 2025 21:22
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

Successfully merging this pull request may close these issues.

2 participants