[GH-ISSUE #6943] [Bug] Document content moved to parent document after updating to v0.7.6 #3070

Open
opened 2026-03-23 21:27:23 +00:00 by mirror · 2 comments
Owner

Originally created by @cuervolu on GitHub (Dec 8, 2024).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/6943

Originally assigned to: @LucasXu0 on GitHub.

Bug Description

After updating AppFlowy from version v0.7.5 to v0.7.6 on Windows, the content of two of my documents was unexpectedly moved to their parent document. The original documents still exist with their titles, icons, and images intact, but the text inside them disappeared.

Upon further inspection, I noticed that some of the missing content was appended to the end of the parent document. However, parts of the content are still missing. This behavior occurred after installing the update on Windows, and the issue now persists across other devices (Linux and iOS) using the same account.

This data is critical for me, and I would like to know if there is any way to recover the missing portions.

How to Reproduce

  1. Use AppFlowy v0.7.5 on Linux to create and edit several documents with a parent-child structure.
  2. Open the same account on Windows with the same version (v0.7.5) to ensure proper synchronization.
  3. Update AppFlowy on Windows to v0.7.6 by installing it over the previous version.
  4. Open the updated application and check the content of the previously created documents.

Expected Behavior

Documents should retain their content after an update, with no unintended movement or loss of data.

Operating System

Linux (v0.7.5, no issues encountered), Windows (v0.7.6, issue occurred after update)

AppFlowy Version(s)

v0.7.6

Screenshots

image
image

In this image, the red arrow points where the red rectangle content belong, and the green arrow points where the other content belong. Some parts are still missing.

image

Additional Context

The issue affects two documents that were not edited recently, but their parent document was modified.
Logs indicate errors such as RecordNotFound for the affected documents:

{"msg":"[Flutter]: get publish info: Failure(error: code: RecordNotFound\nmsg: Record not found:c6d70877-9c08-40da-9ec8-8527775d1291\n) for view: Implementación(c6d70877-9c08-40da-9ec8-8527775d1291)","time":"12-07 22:26:46","target":"dart_ffi"}
{"msg":"[Flutter]: get publish info: Failure(error: code: RecordNotFound\nmsg: Record not found:ac30e53b-c89b-4165-ba4f-f0cea36830ee\n) for view: Sintaxis Diálogos(ac30e53b-c89b-4165-ba4f-f0cea36830ee)","time":"12-07 22:26:46","target":"dart_ffi"}

Question:
Is there any way to recover the missing portions of the documents? The content is very important, and I would appreciate guidance on how to address this issue.

Full logs are attached to this issue for further analysis.

log.2024-12-08.txt

Originally created by @cuervolu on GitHub (Dec 8, 2024). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/6943 Originally assigned to: @LucasXu0 on GitHub. ### Bug Description After updating AppFlowy from version v0.7.5 to v0.7.6 on Windows, the content of two of my documents was unexpectedly moved to their parent document. The original documents still exist with their titles, icons, and images intact, but the text inside them disappeared. Upon further inspection, I noticed that some of the missing content was appended to the end of the parent document. However, parts of the content are still missing. This behavior occurred after installing the update on Windows, and the issue now persists across other devices (Linux and iOS) using the same account. This data is critical for me, and I would like to know if there is any way to recover the missing portions. ### How to Reproduce 1. Use AppFlowy v0.7.5 on Linux to create and edit several documents with a parent-child structure. 2. Open the same account on Windows with the same version (v0.7.5) to ensure proper synchronization. 3. Update AppFlowy on Windows to v0.7.6 by installing it over the previous version. 4. Open the updated application and check the content of the previously created documents. ### Expected Behavior Documents should retain their content after an update, with no unintended movement or loss of data. ### Operating System Linux (v0.7.5, no issues encountered), Windows (v0.7.6, issue occurred after update) ### AppFlowy Version(s) v0.7.6 ### Screenshots ![image](https://github.com/user-attachments/assets/cebba930-958b-47b4-8cc3-7aff981b5390) ![image](https://github.com/user-attachments/assets/ddef4b02-afb8-4719-b684-8b34422fc7b4) In this image, the red arrow points where the red rectangle content belong, and the green arrow points where the other content belong. Some parts are still missing. ![image](https://github.com/user-attachments/assets/6fae3631-896b-4859-ac45-485f6efcde3e) ### Additional Context The issue affects two documents that were not edited recently, but their parent document was modified. Logs indicate errors such as `RecordNotFound `for the affected documents: ```json {"msg":"[Flutter]: get publish info: Failure(error: code: RecordNotFound\nmsg: Record not found:c6d70877-9c08-40da-9ec8-8527775d1291\n) for view: Implementación(c6d70877-9c08-40da-9ec8-8527775d1291)","time":"12-07 22:26:46","target":"dart_ffi"} {"msg":"[Flutter]: get publish info: Failure(error: code: RecordNotFound\nmsg: Record not found:ac30e53b-c89b-4165-ba4f-f0cea36830ee\n) for view: Sintaxis Diálogos(ac30e53b-c89b-4165-ba4f-f0cea36830ee)","time":"12-07 22:26:46","target":"dart_ffi"} ``` **Question:** Is there any way to recover the missing portions of the documents? The content is very important, and I would appreciate guidance on how to address this issue. Full logs are attached to this issue for further analysis. [log.2024-12-08.txt](https://github.com/user-attachments/files/18050456/log.2024-12-08.txt)
Author
Owner

@LucasXu0 commented on GitHub (Dec 9, 2024):

Hi, @cuervolu. Could you attach the log files from Linux? Here's the guide.

<!-- gh-comment-id:2526589436 --> @LucasXu0 commented on GitHub (Dec 9, 2024): Hi, @cuervolu. Could you attach the log files from Linux? Here's the [guide](https://appflowy.com/ccf3ca5a-7ecd-4c35-805c-3a3c9c22e87d/AppFlowy-Q-A).
Author
Owner

@cuervolu commented on GitHub (Dec 9, 2024):

Here they are appflowy_logs.zip

<!-- gh-comment-id:2526600595 --> @cuervolu commented on GitHub (Dec 9, 2024): Here they are [appflowy_logs.zip](https://github.com/user-attachments/files/18055121/appflowy_logs.zip)
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#3070
No description provided.