-
Notifications
You must be signed in to change notification settings - Fork 137
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
Issue while getting devices by tenantId using pagination. #3535
Comments
Thanks for reporting. If you believe that there is also an issue with filtering results, then please create a dedicated issue for the specific problem that you experience. A statement like
is not helpful without any context and detail information. |
I have created some additional unit tests in order to be able to reproduce the erroneous behavior. However, the unit tests all succeed and I have no clue (yet) why this would fail on the Sandbox. Next step will be to add some integration tests as well ... |
@sophokles73 are you able to fix that issue ? |
I have extended the unit and integration tests in PR #3541 but they all succeed locally. Do you experience the erroneous behavior also with a local installation of Hono? |
I've tried getting devices by tenant Id with pagination but this api behaving incorrectly.
i.e- If you have 10 devices in a tenant, and you want to show 8 in a page then, the api is giving every pageOffset 8 records that is wrong, and also the filter json is not working, please have look into this issue.
1: API URL - https://hono.eclipseprojects.io:28443/v1/devices/My-Tenant?pageSize=8&pageOffset=0 is showing 8 records.
2: API URL - https://hono.eclipseprojects.io:28443/v1/devices/My-Tenant?pageSize=8&pageOffset=1 is also showing 8 records, it should be 2 only.
Also please have look on filterJson issue.
The text was updated successfully, but these errors were encountered: