focalboard icon indicating copy to clipboard operation
focalboard copied to clipboard

MM-52722: Fixed error when accessing property on undefined

Open srisri332 opened this issue 1 year ago • 2 comments

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: https://github.com/mattermost/focalboard/issues/4831 Also, do a basic sanity test to see if the comment box functionality is working as expected.

Ticket Link

https://github.com/mattermost/focalboard/issues/4831 https://mattermost.atlassian.net/browse/MM-52722

srisri332 avatar Dec 18 '23 04:12 srisri332

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 avatar Dec 18 '23 04:12 mattermost-build

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!

mattermost-build avatar Dec 29 '23 01:12 mattermost-build