Skip to content

[Bug]: Typo found in util.js variable name on Todo App Template #41405

@siwon-park

Description

@siwon-park

Is there an existing issue for this?

  • I have searched the existing issues

Description

I created a test app using the basic Todo App Template. After deploying it, I tried to add a task, but it didn't work.

Upon checking the query and JS code, I found a typo in utils.js

In the addTask method (line 66), the variable name used in the await statement seems incorrect.

I think it should be

Correct

await createTask.run({id: randomlyGeneratedId})

Current (Incorrect)

not await createTask.run({id: rand})

Image

Steps To Reproduce

  1. Make your own app using Todo App Template.
  2. deploying it without doing anything.
  3. try add some tasks. (it didn't work)

Public Sample App

No response

Environment

Production

Severity

Medium (Frustrating UX)

Issue video log

No response

Version

Cloud

Metadata

Metadata

Labels

BugSomething isn't workingCommunity Reportedissues reported by community membersMediumIssues that frustrate users due to poor UXNeeds TriagingNeeds attention from maintainers to triageProduction

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions