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

BUG: API /api/v1/{project}/item/history cannot return correct when the length of filter.in.testCaseHash is bigger than 20 #1701

Open
MingLiu4 opened this issue Apr 28, 2023 · 0 comments

Comments

@MingLiu4
Copy link

When setting "type=comparing" and the number of filter.in.testCaseHash is bigger than 20, there is issue in the return json.
For example, in the following API, there are 25 items in filter.in.testCaseHash:
api/v1/superadmin_personal/item/history?historyDepth=1&type=comparing&filterId=2&launchesLimit=600&isLatest=true&filter.in.testCaseHash=-809227041,-38253239,1839249082,-1522254505,1402253705,901225426,146180582,-1145417100,-1132021116,-1154120765,-43765001,-621623562,1170344421,-1543011688,-1539317604,920890918,538643070,-2113662964,-2085033813,-2056404662,-2027775511,-1970517209,-1941888058,-1913258907,-1884629756

the API only get 20 items (instead of 25) in the return list.

@MingLiu4 MingLiu4 changed the title /api/v1/{project}/item/history API /api/v1/{project}/item/history cannot return correct when the length of filter.in.testCaseHash is bigger than 20 Apr 28, 2023
@MingLiu4 MingLiu4 changed the title API /api/v1/{project}/item/history cannot return correct when the length of filter.in.testCaseHash is bigger than 20 BUG: API /api/v1/{project}/item/history cannot return correct when the length of filter.in.testCaseHash is bigger than 20 Apr 28, 2023
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