Skip to content

Table Deleted During Import ("Ignored ast node") #1048

Description

@5hir0kur0

Search first

  • I searched and no similar issues were found

What Happened?

Logseq DB deleted a whole block during import. I have a small sample graph to reproduce the issue.

Reproduce the Bug

  1. "Import existing notes"
  2. "File to DB graph"
  3. Choose this graph: missing-node-repro.zip
  4. Go to the journal page for August 8 and compare with the markdown file.

Expected Behavior

Import the table from Logseq OG.

Screenshots

Image

Files

missing-node-repro.zip

Browser, Desktop or Mobile Platform Information

OS: Arch Linux
Browser: Firefox
test.logseq.com revision: 5a23230

Additional Context

Console log:

:ast->text "Ignored ast node" :node ["Table" {:header [[["Plain" "Old event handler"]] [["Plain" "New event handler"]] [["Plain" "Note"]]], :groups [[[[["Plain" "OnInitComplete"]] [["Plain" "OnBoot"]] [["Plain" ""]]] [[["Plain" "OnShutdown"]] [["Plain" "OnShutdown"]] [["Plain" ""]]] [[["Plain" "OnOpened"]] [["Plain" "OnOpen"]] [["Plain" ""]]] [[["Plain" "OnClosed"]] [["Plain" "OnClose"]] [["Plain" ""]]] [[["Plain" "React"]] [["Plain" "OnTraffic"]] [["Plain" ""]]] [[["Plain" "Tick"]] [["Plain" "OnTick"]] [["Plain" ""]]] [[["Plain" "PreWrite"]] [["Plain" "-"]] [["Plain" "Deprecated"]]] [[["Plain" "AfterWrite"]] [["Plain" "-"]] [["Plain" "Deprecated"]]]]], :col_groups [3]}]

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

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