intent: a roll-up status: without statusWhenPartial (or statusWhenFull) generates uncompilable Java - the whole app 404s
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
Direzione di ricerca
Read IntentParser and trace how it validates the roll-up status configuration; compare that with GlueIntentGenerator and RollupAggregates.appendStatus. Start by running the existing RollupAggregatesTest and identify coverage for only one of statusWhenFull and statusWhenPartial being set. Done means this configuration is rejected with the missing key named, or status emission handles the missing value, with a regression test confirming the behavior.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
A sum roll-up that declares status: + statusWhenFull: but no statusWhenPartial: (or the reverse) passes the parser and generates Java that does not compile. Because one javac task compiles the whole client-Java batch, every controller of the app 404s, not just the roll-up.
Where (release commit 862f6d1a, 14.93.0)
GlueIntentGeneratorwrites the missing key as"":base.put("statusWhenPartial", withStatus && rollup.getStatusWhenPartial() != null ? ... : "")(GlueIntentGenerator.java ~L705-710).RollupAggregates.appendStatussplices it in verbatim:java.util.Objects.equals(parent.Status, )andparent.Status = sum.compareTo(capacity) >= 0 ? 7 : ;(RollupAggregates.java L186-L215). The same file already guardscapacityField/balanceFieldwithstrOrEmptyfor exactly this reason. The status pair has no such guard.IntentParserchecks only thatstatus:is a to-one relation of the parent. It never requires bothstatusWhenFullandstatusWhenPartial.RollupAggregatesTestcovers both-set and both-empty, but not one set with the other missing.
Expected
Either the parser refuses status: without both statusWhenFull and statusWhenPartial (naming the missing key), or the emission treats a missing one as "leave the status alone in that band". The refusal is the smaller fix.
Found on 14.88.0 by BusinessIntents (wave 2026-10-17, base-fixed-assets / base-cash-desk) and re-checked against the 14.93.0 source; still present.
🤖 Generated with Claude Code
- Lingua principale
- Java
- Stelle
- 278
- Fork
- 97
- Merge medio
- 18h 53m
- PR unite (30g)
- 228
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di eclipse-dirigible/dirigible
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
eclipse-dirigible/dirigible#7958 ·
I maintainer di solito rispondono entro 1 giorno
-
intent: a create-from without fromStatus answers 200 on a missing or unknown source id (no 400/404)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
eclipse-dirigible/dirigible#7945 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
eclipse-dirigible/dirigible#7891 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
eclipse-dirigible/dirigible#6538 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
eclipse-dirigible/dirigible#4812 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di eclipse-dirigible/dirigible
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
QuiltMC/update-quilt-meta#28 ·
-
awaiting triage Documentation P3
Difficoltà 1/5 1-3 ore Idoneità per principianti 86/100
I maintainer di solito rispondono entro 1 giorno
-
area/build area/maintainability component/camunda-process-test kind/tech-debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Kafka: Filter empty strings and whitespace in IcebergSinkConfig stringToListForse già presa @mohamed-elbrik l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
area/kotlin
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno