Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#7,828 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
java
Ambito
api

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Java
Stelle
278
Fork
97
Merge medio
18h 57m
PR unite (30g)
249

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di eclipse-dirigible/dirigible

Tutte le issue di eclipse-dirigible/dirigible

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.