You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Date links in deadline and scheduled properties of a task lead to a blank page #1046
When creating additional date-properties, clicking on those date values in the pillboxes does actually lead to the correct journal page. The problem seems to be specific for the scheduled and deadline properties.
Are you willing to submit a PR? If you know how to fix the bug.
This looks like it depends on the journal title format: the link works with the default format "MMM do, yyyy" and leads nowhere with any other.
A Deadline or Scheduled value is a timestamp, not a page. datetime-value (src/main/frontend/components/property/value.cljs) renders it as a page reference by name, {:block/name (date/journal-name date)}, where journal-name formats the day in the configured format, for example "2026-09-27". A click routes by that name (redirect-to-page! asks get-page-route-info, which calls ldb/get-page, a lookup by :block/name). A journal's :block/name is always the default format in lower case, "sep 27th, 2026" (convert-page-if-journal-impl in deps/graph-parser/src/logseq/graph_parser/block.cljs), whatever the configured format, so the lookup finds no page. A :date property holds the journal page itself and links by its uuid, which is why other date properties work.
Found with a model-based property test of dates, which reads the link target of every Deadline and Scheduled value the way the click resolves it: with every other format the runs set, the target is no page; with "MMM do, yyyy" it is the day's journal. Upstream master 16c4ed1a0.
Fixed in logseq/logseq#13883 (fix(journal): find journal pages by their day, not their formatted title). Its description has the cause and the test that pins it; it fails on current master and passes with the fix.
Activity
yuxi-liu-wired commentedon Sep 28, 2026
This looks like it depends on the journal title format: the link works with the default format "MMM do, yyyy" and leads nowhere with any other.
A Deadline or Scheduled value is a timestamp, not a page.
datetime-value(src/main/frontend/components/property/value.cljs) renders it as a page reference by name,{:block/name (date/journal-name date)}, wherejournal-nameformats the day in the configured format, for example "2026-09-27". A click routes by that name (redirect-to-page!asksget-page-route-info, which callsldb/get-page, a lookup by:block/name). A journal's:block/nameis always the default format in lower case, "sep 27th, 2026" (convert-page-if-journal-implindeps/graph-parser/src/logseq/graph_parser/block.cljs), whatever the configured format, so the lookup finds no page. A:dateproperty holds the journal page itself and links by its uuid, which is why other date properties work.Found with a model-based property test of dates, which reads the link target of every Deadline and Scheduled value the way the click resolves it: with every other format the runs set, the target is no page; with "MMM do, yyyy" it is the day's journal. Upstream master
16c4ed1a0.yuxi-liu-wired commentedon Oct 27, 2026
Fixed in logseq/logseq#13883 (fix(journal): find journal pages by their day, not their formatted title). Its description has the cause and the test that pins it; it fails on current master and passes with the fix.
fix(properties): link Deadline/Scheduled dates to the journal page wi…
fix(journals): look journal pages up by journal day, not by a formatt…
fix(properties): link Deadline/Scheduled dates to the journal page wi…
fix(journals): look journal pages up by journal day, not by a formatt…
fix(properties): link Deadline/Scheduled dates to the journal page wi…
fix(journals): look journal pages up by journal day, not by a formatt…
fix(properties): link Deadline/Scheduled dates to the journal page wi…
fix(journals): look journal pages up by journal day, not by a formatt…
fix(properties): link Deadline/Scheduled dates to the journal page wi…
fix(journals): look journal pages up by journal day, not by a formatt…
fix(properties): link Deadline/Scheduled dates to the journal page wi…
fix(journals): look journal pages up by journal day, not by a formatt…
fix(properties): link Deadline/Scheduled dates to the journal page wi…
fix(journals): look journal pages up by journal day, not by a formatt…
fix(properties): link Deadline/Scheduled dates to the journal page wi…
fix(journals): look journal pages up by journal day, not by a formatt…
fix(properties): link Deadline/Scheduled dates to the journal page wi…
fix(journals): look journal pages up by journal day, not by a formatt…
fix(properties): link Deadline/Scheduled dates to the journal page wi…
fix(journals): look journal pages up by journal day, not by a formatt…
fix(properties): link Deadline/Scheduled dates to the journal page wi…
fix(journals): look journal pages up by journal day, not by a formatt…
fix(properties): link Deadline/Scheduled dates to the journal page wi…
fix(journals): look journal pages up by journal day, not by a formatt…
fix(properties): link Deadline/Scheduled dates to the journal page wi…
fix(journals): look journal pages up by journal day, not by a formatt…