Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#7,951 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
java
Domain
frontend

Research direction

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.

Written by the indexing model from the issue text.

Description

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

Dominant language
Java
Stars
278
Forks
97
Avg merge
18h 53m
Merged PRs (30d)
228

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from eclipse-dirigible/dirigible

All issues in eclipse-dirigible/dirigible

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.