Skip to content

Conversation

@srisri332
Copy link

Summary

The red JavaScript banner was due an error that was occurring when a property was trying to be accessed on undefined. This undefined value occurs only when empty lines are given in the comments box. Therefore, placed a check to not do this if there are no text values in the comment box.

Testing:
check the following issue link to follow the steps to reproduce: #4831
Also, do a basic sanity test to see if the comment box functionality is working as expected.

Ticket Link

#4831
https://mattermost.atlassian.net/browse/MM-52722

@mattermost-build
Copy link
Contributor

Hello @srisri332,

Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

@mattermost-build
Copy link
Contributor

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

Copilot AI added a commit to jk33v3rs/focalboard that referenced this pull request Nov 28, 2025
Copilot AI added a commit to jk33v3rs/focalboard that referenced this pull request Nov 28, 2025
jk33v3rs pushed a commit to jk33v3rs/focalboard that referenced this pull request Nov 28, 2025
…munity/focalboard (#4)

* Initial plan

* Merge upstream PR mattermost-community#5099: Bump the github-actions-updates group across 2 directories with 7 updates

* Merge upstream PR mattermost-community#5042: fix file info delete query

* Merge upstream PR mattermost-community#5041: [mattermost-communityGH-4843] Deletes newly created card after close if no interaction were made in

* Merge upstream PR mattermost-community#4959: Fix BiDi Text Issues App Wide

* Merge upstream PR mattermost-community#4957: MM-52722: Fixed error when accessing property on undefined

* Merge upstream PR mattermost-community#4907: prevent ModifiedBy overwrite

* Merge upstream PR mattermost-community#4868: fixed Bug: After deleting a board, using the undo feature would redirect...

* Merge upstream PR mattermost-community#4619: Fixing role dropdown for admins

* Merge upstream PR mattermost-community#4899: Replace a non-semantic JSX child in one of the test files with an empty fragment

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
jk33v3rs pushed a commit to jk33v3rs/focalboard that referenced this pull request Dec 2, 2025
…nity/focalboard (#1)

* Initial plan

* Merge upstream PR mattermost-community#5099: Bump the github-actions-updates group across 2 directories with 7 updates

* Merge upstream PR mattermost-community#5042: fix file info delete query

* Merge upstream PR mattermost-community#5041: [mattermost-communityGH-4843] Deletes newly created card after close if no interaction were made in

* Merge upstream PR mattermost-community#4959: Fix BiDi Text Issues App Wide

* Merge upstream PR mattermost-community#4957: MM-52722: Fixed error when accessing property on undefined

* Merge upstream PR mattermost-community#4907: prevent ModifiedBy overwrite

* Merge upstream PR mattermost-community#4868: fixed Bug: After deleting a board, using the undo feature would redirect

* Merge upstream PR mattermost-community#4619: Fixing role dropdown for admins

* Merge upstream PR mattermost-community#4899: Replace a non-semantic JSX child in one of the test files with an empty fragment

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants