Skip to content

Conversation

@omggga
Copy link

@omggga omggga commented Oct 18, 2023

Summary

This pull request introduces a fix to ensure that the ModifiedBy field is not overwritten if it already contains a userID. We added a conditional check to verify if the ModifiedBy field is empty before assigning a new userID, enhancing the data integrity of the block modification tracking.

By default the system uses default userID from person, who is importing data. If board.jsonl is already filled with existing IDs from current board or mattermost instance, we should accept it, not overwrite.

Ticket Link

https://community.mattermost.com/core/pl/7x9n4kfy4pbdxphsnuhtoodqxy

@mattermost-build
Copy link
Contributor

Hello @omggga,

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