focalboard icon indicating copy to clipboard operation
focalboard copied to clipboard

Bug: Export and reimport duplicates boards

Open chenilim opened this issue 2 years ago • 6 comments

Steps to reproduce the behavior

  1. Open a workspace with one or more boards
  2. Select the settings button and export the workspace archive
  3. Import the archive back to the same workspace
  4. Boards are duplicated

Expected behavior

The import should overwrite existing boards, as it did before.

Edition and Platform

  • Edition: Mattermost plugin
  • Version: v0.11.0
  • Browser and OS: Chrome on macOS

Additional context

Was this change intentional?

chenilim avatar Dec 03 '21 17:12 chenilim

This was an intentional side effect of server-side UUIDs. Now when importing a board all IDs are replaced by new ones on the server, hence duplicating all blocks

mgdelacroix avatar Dec 07 '21 08:12 mgdelacroix

Document this as by design. Need better backup/restore method.

sbishel avatar Dec 07 '21 15:12 sbishel

The product documentation doesn't generally contain this type of content (bugs and workarounds) and we usually share it in the changelog. We can also add it to the Discussion tab in GitHub if appropriate, or add it to the Support KB if appropriate.

I don't see it in the changelog and, if this is still an issue, it might be worth adding to the next release's changelog.

justinegeffen avatar Jan 26 '22 13:01 justinegeffen

Thanks. Agree we should add this to a KB article. @justinegeffen, should that be a GitHub discussion (we could create a new KB category), or is there a better place for this kind of info? cc @wuwinson.

chenilim avatar Jan 26 '22 15:01 chenilim

I think this can go into the changelog if it's still an issue. It would go under "Known issues" in this document: https://docs.mattermost.com/install/self-managed-changelog.html. We usually include the Jira issue but in this can if we have a card link, we'd add that or even this issue's link.

@amyblais, would you be open to this being added to the changelog in this manner?

justinegeffen avatar Mar 31 '22 13:03 justinegeffen

all IDs are replaced by new ones on the server

I'm adding it as a known issue via this changelog PR which I'm working on for the next release.

amyblais avatar Mar 31 '22 13:03 amyblais