logseq / db-test

Used for Database version test
5 stars 1 forks source link

linked references in property values are not recognized properly after import #134

Open cannibalox opened 3 weeks ago

cannibalox commented 3 weeks ago

Search first

What Happened?

tried to import a medium-sized graph (4K files resulting in 40K pages). once MD pages are imported, the [[page-refs]] are not parsed correctly:

once pages are edited, links are correctly parsed and recognized

I need to edit the nodes/pages before the links are correctly recognized, either just adding a space or typing something (see image below, I had to add a space), only then, the backlinks start to be populated, but only for pages/blocks where I manually triggered the edit. ss_Maxthon_20,000_Leagues_Under_the_Sea_(1954)_-_Maxthon_20241005_NuerodGCj0

note that the image above also exhibit another issue where some [[links]] appear as plain text rather than proper links to nodes. I believe this specific issue was fixed on 2024-10-06

it seems Luhman is experiencing a similar issue

Reproduce the Bug

to repro, here's a test graph in zip format (approx 4k movies metadata from omdb converted to md format resultin gi n40k pages) : ls-movies-4k.zip -- note to Tienson : that's the same graph I uploaded on discord for the search issue you can import and specify genre and moviesas new tags

next, open the All pages to see backlinks. try to search for Harrison Ford, see his page has no backlinks. Now go to star wars: episode IV and see page [[Harrison Ford]] is in the actors:: values. now edit the "star wars" page, add a note or delete an actor then go back to [[harrison ford]] and see the updated Linked Ref.

Expected Behavior

No response

Screenshots

No response

Browser, Desktop or Mobile Platform Information

No response

Additional Context

No response

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