nextcloud / nextcloud/assistant

Invalid task input causes an unintelligable `[object Object]` error

Open
#386 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug priority normal
Dominant language
JavaScript
Stars
88
Forks
43
Avg merge
18h 49m
Merged PRs (30d)
3

Description

Which version of assistant are you using?

c.nc.c

Which version of Nextcloud are you using?

32.0.1

Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.

Firefox 140

Describe the Bug

Invalid task input causes an unintelligable [object Object] error

Expected Behavior

The validation error should be displayed to the user, or a different intelligable message should be displayed that makes sense in this case.

To Reproduce

Try to schedule a task with invalid input parameters, e.g. a speech generation task with a voice that doesn't exist.

Contributor guide

Open the contributing guide

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.

Research direction

Reproduce the issue by scheduling a speech generation task with a nonexistent voice, then trace the task-scheduling and user-facing error display paths in the JavaScript application. Confirm the validation error or a meaningful replacement is shown instead of [object Object].

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.