You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "carloea2 (via GitHub)" <gi...@apache.org> on 2026/08/30 20:42:16 UTC
[I] Dashboard search accepts negative pagination values [texera]
carloea2 opened a new issue, #8145:
URL: https://github.com/apache/texera/issues/8145
### What happened?
Dashboard search accepts negative pagination values instead of rejecting invalid client input.
Before: `start=-1` returns 500, and `count=-1` returns 200 with an inconsistent `more=true` response.
After: negative `start` or `count` returns 400, while zero remains valid.
### How to reproduce?
1. Start the local development backend from main.
2. Request `GET /api/dashboard/publicSearch?resourceType=workflow&start=-1` and observe HTTP 500.
3. Request the endpoint with `count=-1` and observe HTTP 200 with an empty result and `more=true`.
4. Request the endpoint with `start=0&count=0` and observe HTTP 200.
### Version/Branch
1.3.0-incubating-SNAPSHOT (main)
### Commit Hash (Optional)
98588bf2ab49aac65ebf002496eb057670e6fc07
### What browsers are you seeing the problem on?
Not browser-specific.
### Relevant log output
Negative offset reaches the database query instead of being rejected at the API boundary.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Dashboard search accepts negative pagination values [texera]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8145:
URL: https://github.com/apache/texera/issues/8145#issuecomment-5471141467
<!-- texera:template-compliance -->
👋 Thanks for opening this issue, @carloea2!
It looks like the issue description doesn't quite follow our template yet:
- This issue doesn't appear to use one of our templates (Bug, Feature, or Task). Please open it using a template so the required details are captured.
Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.
You can find the template prompts by editing the description, or see [CONTRIBUTING.md](https://github.com/apache/texera/blob/main/CONTRIBUTING.md) for the full contribution flow.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Dashboard search accepts negative pagination values [texera]
Posted by "carloea2 (via GitHub)" <gi...@apache.org>.
carloea2 commented on issue #8145:
URL: https://github.com/apache/texera/issues/8145#issuecomment-5548206959
/take
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org