Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

report: a negative $limit makes every generated report controller answer 500

Open
#7,828 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
java
Domain
api

Research direction

Start by reproducing a 500 with ?$limit=-1 on a generated report endpoint. The payload names the gen/<report>/api/reports/<Report>Controller and <Report>Repository classes, where $limit is passed straight into the query. Compare with how the entity controllers handle the same parameter. Done when a negative limit returns a 400 that names the parameter, or is clamped or ignored as the entity controllers do, and never a 500.

Written by the indexing model from the issue text.

Description

Every generated report controller answers 500 to a negative $limit (for example ?$limit=-1). The entity controllers accept the same parameter. Found by the BusinessIntents adversarial hunt (billing, run 37984537906, 14.81.0) on the sales-invoices and journal reports (gen/<report>/api/reports/<Report>Controller → <Report>Repository, where $limit is passed straight into the query). Module issue: BusinessIntents/base-sales-invoices#204.

Expected: a 400 that names the bad parameter, or the parameter clamped/ignored the way the entity controllers do it. Never a 500.

Dominant language
Java
Stars
278
Forks
97
Avg merge
18h 57m
Merged PRs (30d)
249

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from eclipse-dirigible/dirigible

All issues in eclipse-dirigible/dirigible

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.