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

checks: compare.than cannot name a one-hop Relation.field (a credit note dated before the invoice it corrects)

Open
#7,830 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
3-5 days
Newbie friendliness
22/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
java
Domain
backend

Research direction

The issue names no files. Start from the existing checks compare rule and the requiredWhen/forbidWhen when: handling that already reads a one-hop Relation.field (added in #7495), and reuse that pattern for compare.than. Done means than: Relation.field is accepted, null-guarded, enforced on every user write, and gated by status:, with tests covering a credit note dated before its invoice.

Written by the indexing model from the issue text.

Description

checks: { kind: compare, field: date, op: ge, than: <field> } compares two fields of the SAME row only. A correcting document cannot say "my date is not before the document I correct": than: SalesInvoice.date over a to-one. requiredWhen/forbidWhen when: terms have read a one-hop Relation.field since #7495, but compare.than does not.

Found by the BusinessIntents adversarial hunt (billing, run 37984537906, 14.81.0): a credit note dated 2026-01-15 was issued against an invoice dated 2026-10-01. It reverses a sale nine months before the sale and lands in an earlier VAT period. Module issue: BusinessIntents/base-sales-invoices#200 (the same gap on the debit note).

Expected: than: accepts a one-hop Relation.field (null-guarded, as the when: terms are), enforced on every user write, and with a status: gate at that transition.

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

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.