Skip to content

PDF not able to re upload after being deleted #415

@goeranfalk

Description

@goeranfalk

Search first

  • I searched and no similar issues were found

What Happened?

I dragged and dropped a pdf-document into the journal and everything worked fine.
I then decided to delete it from the journal, create a new page and drag and drop the same pdf into the new page. The result was empty brackets "[[]]".

The file is not located in "assets"-page or the local "assets"-folder.

If i try to upload the file by using the "assets"-page Logseq will crash.

I even tried to rename the file, but the outcome was the same.

Reproduce the Bug

  1. Drag and drop a PDF in the journal or page.
  2. Delete the PDF.
  3. Drag and drop the same PDF again.

Expected Behavior

I expected the file to import as normal.

Files

Image

Browser, Desktop or Mobile Platform Information

macOS 15.5, desktop app 0.11.0

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)

Metadata

Metadata

Labels

bugSomething isn't workingrtc

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions