intent: a roll-up balance against a capacity that is measured but not enforced (budget versus actual), or a computed report column
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
Direzione di ricerca
Read RollupIntentGenerator, especially the updateDerived to updateProperties path, and ReportIntentGenerator.addMeasure to see the current limits described in the issue. Trace how capacity, balance, and child-side guards are handled, then choose either the enforce: false roll-up behavior or computed report columns. Done means over-budget values are allowed, a null capacity produces a null balance, and the selected behavior is covered by a test.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Shape asked: a sum roll-up that keeps a remainder against a parent field and does NOT refuse. Two options; either one is enough:
rollups:
- { name: projectActualHours, entity: ProjectTimesheet, via: Project, field: actualHours, op: sum, of: approvedHours,
capacity: budgetHours, balance: remainingHours, enforce: false } # measured, never guarded
or a report column computed from the row's own fields:
reports:
- name: BudgetVsActual
source: Project
dimensions: [code, name, budgetHours, actualHours]
columns: [{ name: remainingHours, expr: "budgetHours - actualHours" }, { name: consumedPercent, expr: "actualHours * 100 / budgetHours" }]
Why 14.88.0 cannot express it:
balance:requirescapacity:, andcapacity:always emits the child-side guard (#7448/#7542). A guard is right for money that must not be over-allocated. Booked hours over a project's budget are information, not an error. With the guard, the monthly schedule could not even create the next project-month of an over-budget project.guardAt:moves the guard, it does not remove it. A null capacity reads as 0 in the handler, so an unbudgeted project would refuse everything.- A stored
remainingHourswithcalculatedOnUpdate: "BudgetHours - ActualHours"goes stale. The roll-up writesactualHoursthroughupdateDerived→updateProperties, which runs no calculated expression. - A report measure is
aggregate(field)only (ReportIntentGenerator.addMeasure). 14.90.0 adds ledger, aging and statement shapes, but no computed column.
Case: BusinessIntents/base-projects (budget versus actual, GAP_ANALYSIS "app-projects"). Project.actualHours/actualRevenue are now roll-ups from base-timesheets (the foreign-parent direction of #6930, which works). remainingHours and the consumed % are what is left. The BudgetVsActual report shows budget and actual side by side until this lands.
enforce: false is the smaller change and also gives the remainder on the record page. When the capacity is null, the balance should be null, not -sum.
- Lingua principale
- Java
- Stelle
- 278
- Fork
- 97
- Merge medio
- 17h 19m
- PR unite (30g)
- 261
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 70/100
NationalSecurityAgency/ghidra#9997 · 2 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
[Bug] DefaultSerializationExceptionWrapper does not implement Cleanable, so cleanup() is never invoked by codecsForse già presa @binbin0325 l’ha presa oggi. Apertacomponent/need-triage type/need-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
2026 Error Report
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
triplea-game/triplea#15096 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug][API] Switching workflow versions leaves schedules onlineForse già presa @zhuangchong l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
apache/dolphinscheduler#18731 ·
I maintainer di solito rispondono entro 1 giorno