Fixed critical bugs in Mattermost Boards plugin#169
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
larkox
left a comment
There was a problem hiding this comment.
I wonder if we want to add tests for any of these.
|
Plugin Spinwick PR #169 🎉 Test server created! Access here: https://boards-pr-169-hw3a8.test.mattermost.cloud
The test server was created successfully, but there was an issue installing or enabling the plugin automatically:
You can manually install the plugin:
Future commits will still attempt to automatically update the plugin. Installation ID: Credentials: Posted securely in this Mattermost channel - Look for PR #169 |
|
@harshilsharma63 A friendly reminder for review. Thank you. |
|
@Rajat-Dabade do we have a test server with this boards patch deployed? |
|
@harshilsharma63 boards-pr-169-hw3a8.test.mattermost.cloud Spinwick created a test server, you can test on it. |
|
Test server destroyed |
* Fixed critical bugs in Mattermost Boards plugin * Linter fixes * Linter * Minor
Summary
multiPersonisn’t a string, or if date values have extra spaces or invalid JSON.HasPermissionToBoardto prevent nil pointer dereference.GetFilePathto check legacy location (filename) whenteamID == GlobalTeamIDand the standard path doesn't exist.CopyCardFilesto copy and verify files before savingFileInfo, skipping missing source files gracefully.CopyAndUpdateCardFilesto remove file references for missing files and update in-memory blocks after database patches to ensure the frontend receives the correct file IDs.handleServeFileto prevent panic.Summary by CodeRabbit