carloea2 opened a new issue, #8129: URL: https://github.com/apache/texera/issues/8129
### What happened? The Hub count endpoint returns 500 when the required `entityType` query parameter is missing. The resource passes the missing value into the entity table dispatcher without validation. Before: missing `entityType` returns 500. After: missing `entityType` returns 400 with a clear message. ### How to reproduce? 1. Start Texera. 2. Request `/api/hub/count` without query parameters. 3. Observe a 500 response. 4. Request `/api/hub/count?entityType=workflow` and observe a valid 200 response. ### 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 Missing entityType: 500 entityType=workflow: 200 -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
