Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - Application Crashes When 'Agent' Attribute is Omitted in Team Creation #73

Closed
darielnoel opened this issue Sep 11, 2024 · 1 comment
Labels
bug Something isn't working documentation Improvements or additions to documentation friends priority-focus

Comments

@darielnoel
Copy link
Contributor

Describe the Bug

When creating a team and omitting the agent attribute (even though it is currently marked as optional), the application crashes with the following error:

TypeError: Cannot read properties of undefined (reading 'forEach')

This indicates that the agent attribute is required for proper functionality. The documentation should clearly state that this field is mandatory to prevent the application from crashing.

KaibanJS Team Config

Provide a link to a playground or configuration file to reproduce the issue in your KaibanJS setup, if applicable. For example, see: Example Playground

Steps to Reproduce

  1. Attempt to create a team without specifying the agent attribute.
  2. Observe that the application crashes with a TypeError related to the forEach method.

Current vs. Expected behavior

Current Behavior: The application crashes when the agent attribute is omitted.
Expected Behavior: The documentation should clarify that the agent attribute is mandatory to avoid the crash.

Environment

  • Framework/Library: Playground
  • KaibanJS Version: 0.3.0
  • JavaScript Runtime: Chrome
@darielnoel darielnoel added bug Something isn't working documentation Improvements or additions to documentation friends labels Sep 11, 2024
@darielnoel darielnoel added the good first issue Good for newcomers label Nov 6, 2024
@darielnoel darielnoel moved this to Upcoming Milestones in KaibanJS Roadmap Nov 6, 2024
@darielnoel darielnoel removed the status in KaibanJS Roadmap Jan 23, 2025
@darielnoel darielnoel added priority-focus and removed good first issue Good for newcomers labels Jan 23, 2025
@darielnoel darielnoel moved this to Planned in KaibanJS Roadmap Jan 23, 2025
@darielnoel darielnoel modified the milestone: Battle-1 Jan 23, 2025
@anthonydevs17
Copy link
Collaborator

#205

@github-project-automation github-project-automation bot moved this from Planned to Released in KaibanJS Roadmap Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation friends priority-focus
Projects
Status: Released
Development

No branches or pull requests

2 participants