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

intent: a create-from without fromStatus answers 200 on a missing or unknown source id (no 400/404)

Open Beginner friendly
#7,945 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
java
Domain
backend

Research direction

Read Generate.java.template around lines 129–175, then compare its response handling with Transition.java.template and the guarded create-from path. Check how missing and unknown source IDs set HTTP status, and run the relevant endpoint tests if available. Done means missing IDs return 400 and unknown IDs return 404 for every create-from path.

Written by the indexing model from the issue text.

Description

Problem

A generates create-from (<Name>Generate/run) without a from-status guard answers 200 with {"error": "source <Entity> not found"} for an id no row has. A missing id answers 200 with {"error": "missing source id"}. A client or test that branches on the status (the generated action button, an apptest flow, a probe) reads both as success. The same endpoint answers 404 when the intent declares fromStatus: / sourceStatus:, because the guard path sets the status, and the transition endpoint answers 400 / 404.

Where (release commit 862f6d1a, 14.93.0)

Generate.java.template ~L129-L175:

  • if (req == null || req.id == null) { return "{\"error\": \"missing source id\"}"; } has no Response.setStatus(400);
  • if (saved == null) { return "{\"error\": \"source ... not found\"}"; } has no Response.setStatus(404) (only the #if(guard) branch sets 404).

Note: an earlier report said an unknown id gives a 500 because findById throws. That is not the case on 14.88.0 or 14.93.0: JavaEntityStore.findById returns null (findOne(...).orElse(null)). The defect is the missing status.

Expected

400 for a missing id and 404 for an unknown source on every create-from, matching the guarded path and Transition.java.template.

🤖 Generated with Claude Code

Dominant language
Java
Stars
278
Forks
97
Avg merge
19h 30m
Merged PRs (30d)
242

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.