Skip to content

File-to-DB graph import results in loss of embedded asset alt text #1081

Description

@acceptilation

Search first

  • I searched and no similar issues were found

What Happened?

I migrated from OG to DB only to find all my embedded asset alt texts had not survived the migration

Reproduce the Bug

  1. In Logseq OG 1.0.0
    1. Add new graph "Temp"
    2. Create new page "This Is the Page Name"
    3. Add file "this-is-the-file-name.pdf" to page
    4. Edit alt text (see screenshot)
      1. From "this-is-the-file-name.pdf"
      2. To "This is the alt text"
  2. In Logseq 2.0.1
    1. "Import existing notes" → "File to DB graph"
    2. Select Temp graph from step 1.1
    3. Select "Submit" to import
    4. Navigate to page This Is the Page Name

Expected Behavior

On the page imported from OG to DB, the alt text is completely gone (see screenshot), replaced by the asset name.
When importing, could the asset name be set to the alt text instead of the file name?
I don't want to lose the alt next on all my assets when migrating to Logseq DB

Screenshots

In Logseq OG

Image

In Logseq DB

Image

Files

No response

Browser, Desktop or Mobile Platform Information

OS: Kubuntu 26.04
Source: Desktop Logseq OG 1.0.0 (revision 680b371)
Destination: Desktop Logseq 2.0.1 (revision b09316a)

Additional Context

Installed plugins:

  • Bullet Threading
  • Journals calendar

Result is the same with these plugins disabled

Dev tools console has no errors

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions