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

Harmonia 3 document editor: a relation picked during the create page's first load loses its dependsOn fill again (#7604 regression, 1 in 5)

Aperta
#7,951 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à
4/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
java
Ambito
frontend

Direzione di ricerca

Start with the generated Harmonia 3 document editor's create-page initialization and dependsOn watcher setup; the issue identifies test/invoice-entry.spec.js and the failing “B1” scenario as the reproduction. Run that test with the delayed VatGroundController options load and repeated runs to observe the race. Done means selecting Customer before loading settles still fills Language with the customer's value instead of the init: 1 default.

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

Descrizione

What

The #7604 race is back on the 14.93.0 generated document editor (the Harmonia 3 editor, #7770 / PR #7832). On the create page, a relation picked before the page has finished its option loads loses its dependsOn fill: the dependent field keeps its init: default.

BusinessIntents base-sales-invoices test/invoice-entry.spec.js, "B1 the customer's language is taken even when the customer is picked at once":

  • the spec delays the last option list the page loads (VatGroundController, by 3 s);
  • it picks the Customer inside that window, waits for state === 'empty-form', and clicks Create;
  • it then expects the invoice's Language to be the customer's language (2). It gets the init: 1 default.

On dirigiblelabs/dirigible:14.93.0 this fails 1 run in 5 (--repeat-each=5) and once more in a full-suite run. It was green on every run from 14.76.0 (#7629) through 14.88.0. The plain pick test (no delay) passes, but its dependsOn fill sometimes lands after 5 s.

Expected

A pick made while the page is still loading must be honoured, as #7629 made it on the old editor. Either register the dependsOn watchers before the first pick can happen, or replay the current relation values once the loads settle.

Where

The create page of any document with a header-level dependsOn { relation, valueFrom }. In this case it is SalesInvoice.Language dependsOn: { relation: Customer, valueFrom: Language }.

🤖 Generated with Claude Code

Lingua principale
Java
Stelle
278
Fork
97
Merge medio
17h 19m
PR unite (30g)
261

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.