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

totalResults has different implementation for GET and POST search #316

Open
alexey-anufriev opened this issue Apr 27, 2021 · 0 comments
Open

Comments

@alexey-anufriev
Copy link
Contributor

Description:
GroupResourceManager#listWithGET calls GroupResourceManager#processGroupList, and inside supplied list of results is validated and first item is OPTIONALLY can represent totalResults value:

if (tempList.get(0) instanceof Integer)

But GroupResourceManager#listWithPOST explicitly retrieves the totalResults value:

totalResults = (int) tempList.get(0);

I believe these implementations must be aligned.

Affected Product Version:
3.3.38

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