intent: a resolves: price-list lookup never prices a line entered in the form - the dependsOn default fills the price first and copy: never overwrites
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
Research direction
Start by reading the ResolveIntent implementation shipped in v14.88.0 and the existing dependsOn form defaults described in the issue, then trace how line prices are populated in forms and server-side create paths. Compare the two proposed approaches and determine how the resolver should handle a header being edited, fallback defaults, and user-entered prices. Done means price-list prices appear before saving when applicable, while uncovered items retain the existing default and manually entered prices are preserved.
Written by the indexing model from the issue text.
Description
What happens
#7025 shipped what a price list needs on the server: resolves: with a header-path match:/between: and a scalar copy: (v14.88.0 ResolveIntent). Adopting it for a per-product-per-list PriceListItem (BusinessIntents billing, dirigible#7025's own example) hits the line FORM:
- the line's
pricealready has a UI default, the conditionaldependsOnfrom the product (Product.price, orProduct.wholesalePricefor a wholesale customer - #6358/#6442), so the form always POSTs a price; copy:writes only into an EMPTY field (the never-overwrite rule), so the price-list price is never applied to a line entered in the form - the one path where a price list matters;- removing the
dependsOndefault instead leaves the form with no price until after the save (andpriceis required on the line), and the async resolve fills it only after the user has saved a line whose total they have not seen.
The server-side paths that would leave the price empty (create-from, recurring schedules) all map price from their source line, so on them the resolver never fires either.
Ask
One source for the line price in both places, e.g. either
dependsOnfrom a register lookup:dependsOn: { resolve: priceFromList, valueFrom: price }- the form asks the generated resolver (samematch/between, evaluated against the header the line is being added to) and pre-fills the found row's price, falling back to the existing conditional default when nothing covers; orcopy:that may replace a value equal to the declared UI default (copy: { price: price }, over: default): the server overwrites the price only when it still equals what thedependsOndefault would have filled, so a typed price stands.
Filed from BusinessIntents base-sales-invoices (pre-train wave 2026-10-17, W-B item 13: PriceListItem). The module keeps the Wholesale/Retail product-column prefill until one of these exists.
- Dominant language
- Java
- Stars
- 278
- Forks
- 97
- Avg merge
- 19h 30m
- Merged PRs (30d)
- 242
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from eclipse-dirigible/dirigible
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
eclipse-dirigible/dirigible#7958 ·
Maintainers usually reply within 1 day
-
intent: a create-from without fromStatus answers 200 on a missing or unknown source id (no 400/404)Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
eclipse-dirigible/dirigible#7945 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
eclipse-dirigible/dirigible#7891 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
eclipse-dirigible/dirigible#6538 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
eclipse-dirigible/dirigible#4812 ·
Maintainers usually reply within 1 day
All issues in eclipse-dirigible/dirigible
Similar issues
-
human-required sync-failed
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Azure/osdu-spi-file#63 ·
Maintainers usually reply within 1 day
-
frontend quick win
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
CodeForPhilly/benefit-decision-toolkit#571 ·
Maintainers usually reply within 1 day
-
approved
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
checkstyle/checkstyle#22129 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Add Hardcharger JDBC driverPossibly taken @prmoore77 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day