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

Missing workflow returns 500 from workflow type endpoint

Open Beginner friendly
#8,300 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

  • #8398 by @VuMartin — closed without merging

Assessment

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

Research direction

Start the local development stack, authenticate, and reproduce GET /api/workflow/type/2147483647. Trace the endpoint through workflowDao.fetchOneByWid and verify the missing workflow case; done means the same request returns HTTP 404 rather than 500 for both regular and admin users.

Written by the indexing model from the issue text.

Description

What happened?

The workflow type endpoint dereferences a missing DAO result. An authenticated request for a workflow ID that does not exist returns 500 instead of 404.

Before: missing workflow returns 500

After: missing workflow returns 404

How to reproduce?
  1. Start the local development stack.
  2. Sign in as a regular or admin user.
  3. Send GET /api/workflow/type/2147483647.

The local response was 500:

{"code":500,"message":"There was an error processing your request."}
Version/Branch

1.3.0-incubating-SNAPSHOT (main)

Commit Hash (Optional)

7d57cd6ef1

Relevant log output

The request reaches workflowDao.fetchOneByWid, receives null, and then calls workflow.getIsPublic.

Dominant language
Scala
Stars
316
Forks
192
Avg merge
3d 10h
Merged PRs (30d)
131

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 apache/texera

All issues in apache/texera

Similar issues

More Scala issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.