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

apptest: the .test manifest drops a dependsOn relation's valueFrom, so the generic crud flow picks an independent first row the copied value then replaces (UI flow times out)

Aperta
#7,957 1 commento 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
72/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
java, javascript, yaml
Ambito
backend, testing

Direzione di ricerca

Read the generated .test manifest path and sdk/test/form.js, especially resolveRelationSamples and its filterBy branch; then inspect crud.js and the named PurchaseCreditNote UI flow. Check how manifest generation preserves dependsOn.valueFrom and how the flow handles that dependent relation. Done means the manifest retains valueFrom and the UI flow completes reliably when the first Supplier row differs from the invoice’s supplier.

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

Descrizione

Seen on dirigiblelabs/dirigible:14.93.0, @aerokit/[email protected], module BusinessIntents/base-purchase-invoices (PurchaseCreditNote, PurchaseDebitNote).

The intent declares a copy, not a filter:

- { name: PurchaseInvoice, kind: manyToOne, to: PurchaseInvoice, required: true }
- { name: Supplier, kind: manyToOne, to: Supplier, model: suppliers, dependsOn: { relation: PurchaseInvoice, valueFrom: Supplier } }

The generated .test manifest carries only "dependsOn": {"relation": "PurchaseInvoice"} - valueFrom is dropped. resolveRelationSamples (sdk test/form.js) aligns a cascade only when dependsOn.filterBy is present, so for a valueFrom dependent it samples the FIRST Supplier row independently of the PurchaseInvoice sample. In the UI the pick of PurchaseInvoice copies that bill's Supplier into the field; pickDropdown then clicks the independently sampled supplier's option, the form re-copies, and the walk never reaches Create - crud.js > PurchaseCreditNote: create, edit and delete through the UI hits the test timeout on any instance where the first Supplier row is not the first bill's supplier (every long-lived instance).

Expected: the manifest carries valueFrom, and the flow either does not pick a valueFrom dependent (the form fills it) or uses trigger.row[valueFrom] as its sample - the same consistency the filterBy branch already gives.

Related: #7663 / #7702 (manifest dropping picker keys), #7951 (dependsOn fill during first load). Module record: BusinessIntents/base-purchase-invoices#49.

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

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.