logseq / logseq/db-test

Comment/Comments tag's "Created At" and "Updated At" reset to 0 after enable sync

Open
#1,040 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
28
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Search first
  • I searched and no similar issues were found
What Happened?

After enabling sync and re-downloading from the sync server, the "Created At" and "Updated At" timestamps of the Comment/Comments tag are reset to 0. See the reproduction steps below.

Reproduce the Bug
  1. Go to "All graphs" and create a new graph.
  2. Enable Logseq Sync. cmd+k search "tag", go to the #Tag page, noticed the Comment and Comments tag all has the correct creation and last modified time.
  3. In "All graphs" page, select "Delete local graph" from the three dot menu, then re-download it from the sync server.
  4. Go to the #Tag page again, the creation and last modified time for Comment and Comments tag all reset to 0.
Expected Behavior

The creation and last modified time should remain unchanged.

Screenshots
Image
Files

No response

Browser, Desktop or Mobile Platform Information

Windows 11, 2.0.1-alpha+nightly.20260728, commit 9a11243.
Also can reproduce on test.logseq.com.
Uses self-hosted sync server.

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.
  • I'm willing to submit a PR (Thank you!)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue through All graphs, Logseq Sync, and the #Tag page, including a re-download from the self-hosted sync server. Trace how Comment and Comments tag timestamps are handled during sync and verify that Created At and Updated At remain unchanged after deleting and re-downloading the local graph.

Written by the indexing model from the issue text.

Assessment

Domain
database
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.