Skip to content

Date links in deadline and scheduled properties of a task lead to a blank page #1046

Open
logseq/logseq
#13883

Description

@luxebenen

Search first

  • I searched and no similar issues were found

What Happened?

When clicking on the dates set in the scheduled or deadline properties of a task, a blank page appears in stead of the journal of that date.

Reproduce the Bug

  1. Create a task and set the deadline and/or scheduled properties
  2. Click on the date in the property pillbox
  3. Empty page appears

Expected Behavior

Clicking on the set dates in the deadline/scheduled properties should lead to the journal of that date.

Screenshots

https://youtu.be/ku0VIhYLmfc

Files

No response

Browser, Desktop or Mobile Platform Information

Windows 11
Logseq 2.0.1 revision b09316a

Image

Additional Context

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.

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

Activity

  1. yuxi-liu-wired commented on Sep 28, 2026

    @yuxi-liu-wired

    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.

  2. yuxi-liu-wired commented on Oct 27, 2026

    @yuxi-liu-wired

    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.

  3. added 8 commits that reference this issue on Oct 29, 2026
    ff1756b
    4b6f255
    e796324
    19fec22
    e331688
    ae6d7cc
    d128bd2
    0f4249b
  4. added 18 commits that reference this issue on Nov 11, 2026
    938325f
    5005b6f
    ec6c164
    3d618f7
    0c464b7
    48b6d5f
    fef5042
    bda2c51
    9d395e9
    b3dac76
    43a2929
    ba53518
    d025031
    d7fb76b
    99fe43b
    e5d7984
    2ae9a7a
    864b4e4
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