mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 04:46:56 +00:00
[GH-ISSUE #8148] [Bug] Notion importer multiple zips and broken links #3598
Labels
No labels
2024
2025
2026
acct mgmt
AI
automation
bug
calendar
ci
CJK
cloud
code-block
collaboration
copy-paste
database
data migration
data sync
deploy
desktop
develop
develop
documentation
duplicate
editor
editor-plugin
emoji
export
files
flutter-only
follow-up
formula
good first issue for devs
good first issue for experienced devs
grid
hacktoberfest
HACKTOBERFEST-ACCEPTED
help wanted
i18n
icons
images
importer
improvements
infra
install
integrations
IR
kanban board
login
look and joy
mentorship
mobile
mobile
needs design
new feature
new feature
non-coding
notes
notifications
onboarding
organization
P0+
permission
platform-linux
platform-mac
platform-windows
plugins
program
pull-request
Q1 25
Q1 26
Q2 24
Q2 25
Q3 24
Q3 25
Q4 24
Q4 25
react
regression
rust
rust
Rust-only
Rust-only
Rust-starter
Rust-starter
self-hosted
shortcuts
side panel
slash-menu
sync v2
table
tablet
task
tauri
templates
tests
themes
translation
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.4
v0.6.7
v0.6.8
v0.7.1
v0.7.4
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.4
v0.8.5
v0.8.9
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AppFlowy-IO/AppFlowy#3598
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @annieappflowy on GitHub (Jul 30, 2025).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/8148
Bug Description
Hi, I think I might have run into another bug while trying to import my 12.2GB Notion export into AppFlowy. I successfully got a file this large to upload, and the AppFlowy worker successfully processed it, and I received the success notification by email.
However, after some days of testing the resulting workspace, team members have reported that some links appear "broken" in both AppFlowy Web and Desktop - instead of linking to functioning pages in the AppFlowy workspace, the link appears in a blue colour, and links to text like Biofarming%20team%20-%20Operations%20and%20maintenance%201b03f7c565474ba180230b78abd07a44/Alerts%20warnings%20to%20be%20changed%20to%20create%20c5006330011b4ccb87abe6a6fd94a376.md instead of an AppFlowy page, and clicking the link does nothing (see screenshot). I inspected the .zip file exported from Notion and it actually contains 4 separate zip files with a suffix like ...-Part-1.zip, ...-Part-2.zip etc. up to ...-Part-4.zip (see screenshot).
The content in the parts 2-4 was not imported, only ...-Part-1.zip was actually imported into Notion. Is this a scenario that came up in your testing of the import feature? It seems that Notion internally splits content into parts for large exports, so another loop may be necessary in your importer to handle exports like this, does that sound possible? I've included a screenshot of the zip file structure, and I can unzip each of these files and see the content that should be linked to, but the links do not work, because it seems like the content outside of ...-Part-1.zip was not processed. Can anyone point me to where the code to process these files is located? I'd be happy to attempt another PR.
https://discord.com/channels/903549834160635914/1171707854701461565/1397593932950667267
How to Reproduce
Sure, please see my message above for the content of the hyperlink - it is an incomplete link to a .md file, without the https://... prefix. It looks like this when I hover over it. Clicking on it has no effect, nothing happens and nothing opens. The HTML code looks like this:
Contrast this to one of the properly imported links, where the target .md file was included in the -Part-1.zip file and therefore successfully imported:
$
Operations reviews
Notice that the SVG element is created, as well as the data-mention-id which is missing in the link to the failed import file, as well as the mention or mention-inline classes. I suspect there is some JS I don't yet understand at work here creating the link action that opens the frame containing the mention link content.
Expected Behavior
Inner links work properly
Operating System
Windows
AppFlowy Version(s)
latest
Screenshots
No response
Additional Context
No response