Repository navigation
Description
Search first
- I searched and no similar issues were found
What Happened?
In a DB graph, a block referencing a journal page (e.g. [[2026-09-21]] is here) renders correctly in the Linked References list view — 2026-09-21 is here, as a link. Switching the same view to table renders the name column as literal text with the ref text gone:
[[]] is here
Trigger: this only reproduces after changing the journal date format in Settings (:logseq.property.journal/title-format). Graphs that never changed the format are not affected — the list view stays correct in both cases.
Screenshots:
Reproduce the Bug
- In a DB graph whose journal pages were created under one journal date format (e.g. the default MMM do, yyyy, pages stored as Sep 21st, 2026), reference a journal page from a block: [[2026-09-21]] is here
- Open the journal page → Linked References → list view: the date renders as a correct page link
- Settings → change the journal date format (e.g. to yyyy-MM-dd). Note: changing the format does not rename existing journal pages
- Back on the journal page → switch the Linked References view to table
- The name column now shows [[]] is here — the page ref text is missing
Expected Behavior
The table name column should render the journal date as a page link exactly like the list view does (e.g. 2026-09-21 is here), regardless of whether the journal date format was changed after the pages were created.
Browser, Desktop or Mobile Platform Information
Operating System: Windows 11, Desktop app
Logseq 2.0.2
Additional Context
Additional analysis (code-level, master 22a29b30de)
- The table name column renders the
:block/titlestring via mldoc (inline-title) with config{:table? true :block/uuid}— notably without:block, sopage-referencecannot resolve the ref from the row's local:block/refsand must fall back to the async name lookup[:page-identity "<text>"](frontend.components.views→frontend.components.block). - When that lookup misses, the fallback branch in
page-cp-innerrenders(or label (:block/name page)). mldoc emits Page_ref labels as[["Plain" ""]], and the joined label is""— truthy in CLJS — so the cell renders[[]]instead of the page name. link-cpadditionally emits a literal[[]]for blank ref text.- Worker-side,
canonical-block/renderer-display-titlerewrite stored[[<uuid>]]into[[<page title text>]]viaid-ref->title-ref. For journal targets that text is the journal-day computed title using the current Journal class:logseq.property.journal/title-format. Changing the format in Settings does not rename existing journal pages, so the computed text no longer matches those pages' stored:block/name— the name lookup misses and the cell degrades to[[]]. The list view is immune because it parses:block/raw-title(uuid form) and resolves by UUID.
Regression window: table rows switched from entity-forward-map (raw [[uuid]] title, uuid-based resolution) to canonical-block display titles in fb1047d1f8 (2026-07-21), and the first-window preview machinery (renderer-display-title etc.) landed in 09c07b0f23 / #13226 (2026-09-16).
Suggested fixes
- Pass
:blockin the name-columninline-titleconfig so table cells resolve refs locally from:block/refs(same as the list view path, uuid-based, format-change-proof). - Blank-check the label in the fallback: render the page name when
(string/blank? label). - Harden the
id-ref->title-refguard ((if (:block/title ref)→(if (seq …)) so empty titles can't produce[[]].
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
[-][DB] Linked References table view: page refs in the name column render as empty "[[]]" (list view is fine)[/-][+][Table View] Linked References table view: page refs in the name column render as empty "[[]]" (list view is fine)[/+]yuxi-liu-wired commentedon Oct 27, 2026
Fixed in logseq/logseq#13885 (fix(views): table view search, unresolved page refs and duplicated row buttons). Its description has the cause and the test that pins it; it fails on current master and passes with the fix.
fix(views): show the page name for a page ref whose lookup missed
fix(views): show the page name for a page ref whose lookup missed
fix(views): show the page name for a page ref whose lookup missed
fix(views): show the page name for a page ref whose lookup missed
fix(views): show the page name for a page ref whose lookup missed
fix(views): show the page name for a page ref whose lookup missed
fix(views): show the page name for a page ref whose lookup missed
fix(views): show the page name for a page ref whose lookup missed
fix(views): show the page name for a page ref whose lookup missed
fix(views): show the page name for a page ref whose lookup missed
fix(views): show the page name for a page ref whose lookup missed
fix(views): show the page name for a page ref whose lookup missed
fix(views): show the page name for a page ref whose lookup missed