[GH-ISSUE #533] [Bug] Can't duplicate a Grid. #243

Closed
opened 2026-03-23 20:34:18 +00:00 by mirror · 2 comments
Owner

Originally created by @moksh-mahajan on GitHub (Jun 5, 2022).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/533

Describe the bug
The duplicate option is working fine for the Doc, but not for the Grid.

To Reproduce
Steps to reproduce the behavior:

  1. On a page create a Grid by clicking on + and choosing the Grid option.
  2. Click on the ':' icon on the grid file.
  3. Click on the duplicate option
  4. Option window pops but grid copy is not being created.

Expected behavior
On click of the duplicate option, a new grid copy must be created.

Desktop

  • macOS Monetary
  • Version 12.0.1
Originally created by @moksh-mahajan on GitHub (Jun 5, 2022). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/533 **Describe the bug** The duplicate option is working fine for the **Doc**, but not for the **Grid**. **To Reproduce** Steps to reproduce the behavior: 1. On a page create a Grid by clicking on + and choosing the **Grid** option. 2. Click on the ':' icon on the grid file. 3. Click on the **duplicate** option 4. Option window pops but grid copy is not being created. **Expected behavior** On click of the duplicate option, a new grid copy must be created. **Desktop** - **macOS** Monetary - Version 12.0.1
Author
Owner

@moksh-mahajan commented on GitHub (Jun 5, 2022):

Tried debugging the issue (Flutter side) and found the following FlowyError being returned with the following message:
msg: Error("invalid type: map, expected a sequence", line: 1, column: 1)

I am no good at rust, so it would be better if someone who knows rust should look at this.
frontend/rust-lib/flowy-folder/src/services/view/controller.rs, line: 172 is a good place to start.

<!-- gh-comment-id:1146802489 --> @moksh-mahajan commented on GitHub (Jun 5, 2022): Tried debugging the issue (Flutter side) and found the following FlowyError being returned with the following message: `msg: Error("invalid type: map, expected a sequence", line: 1, column: 1)` I am no good at rust, so it would be better if someone who knows rust should look at this. `frontend/rust-lib/flowy-folder/src/services/view/controller.rs, line: 172` is a good place to start.
Author
Owner

@appflowy commented on GitHub (Jun 8, 2022):

Hi @moksh-mahajan, thank you for reporting the error. I have fixed it in the 0.0.4 release version.

<!-- gh-comment-id:1149795647 --> @appflowy commented on GitHub (Jun 8, 2022): Hi @moksh-mahajan, thank you for reporting the error. I have fixed it in the 0.0.4 release version.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#243
No description provided.