[DB 2.0.2][iOS] Synced block created with a date/node property value is missing from Linked References until it is edited
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- ios
- Ambito
- mobile
Direzione di ricerca
Start by tracing how the iOS app processes synced transactions and updates Linked References for blocks with date properties; compare that path with the desktop behavior described in the report. The payload does not name source files or tests, so locate those entry points in the repository first. Done means a block created with its date property in the same operation appears in iOS Linked References after sync, without needing a later edit.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Search first
- I searched and no similar issues were found
What Happened?
A block created on another client with a date property value set in the same operation syncs to the iPhone, but iOS never lists it in the Linked References of the referenced journal page, also not after force-quitting the app. The macOS desktop app on the same graph shows it right away. Any later edit to the block (even text only) makes it appear on iOS.
Test blocks were written with the Logseq CLI 2.0.2 on a Mac, each against a journal page without other references:
| Test | How the block was written | macOS 2.0.2 | iOS 2.0.2 (54) |
|---|---|---|---|
| A | new block, date property set in the same upsert block |
shown | missing, also after app restart |
| B | new block with inline link [[Nov 9th, 2026]] |
shown | shown (A still missing) |
| C | new block with date Nov 8th, then a second upsert changing it to Nov 9th |
shown | shown |
| D | new block without property, date set in a second upsert --id |
shown | shown |
| E | like A (missing on iOS), then only its text changed | shown | appears after the text edit |
Reproduce the Bug
- DB graph synced between a desktop/CLI client and the iOS app, with a date property (here
Datum). - On the CLI client, create a block that sets the property in the same operation:
logseq upsert block --graph <graph> --target-page "Sync test" --content "Test" --update-properties '{:user.property/Datum-<id> <journal-page-db-id>}' - macOS lists "Test" under Linked References of that journal page. iOS does not, also after force-quitting the app.
- Change only the text:
logseq upsert block --id <id> --content "Test edited". - iOS now lists the block.
Expected Behavior
iOS lists the block under Linked References as soon as it has synced, like desktop does.
Desktop or Mobile Platform Information
- Logseq 2.0.2, DB graph, E2EE enabled
- iOS app: iPhone 18 Pro Max, iOS 27.2.1, Logseq 2.0.2 (54) from TestFlight
- Other clients: macOS desktop 2.0.2; Logseq CLI 2.0.2 (Node mode of the desktop app) on a second Mac, which wrote all test blocks
- Sync: self-hosted sync server (
ghcr.io/yshalsager/logseq-selfhost-sync, upstreamdeps/db-sync)
Additional Context
- Same version on macOS and iOS, and macOS builds the refs from the same remote transactions, so this looks iOS-specific rather than a server or data problem.
- Related on the writing side: logseq/db-test#1512.
- Workaround for scripts: create the block first, then set the properties in a second
upsert --id.
Are you willing to submit a PR?
- I'm willing to submit a PR (Thank you!)
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 29
- Fork
- 2
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di logseq/db-test
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Potential Dataloss: Deleting an entry from the property page's node table has no confirmation dialogForse già presa @tiensonqin l’ha presa 59 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Disabling Flashcards in Settings does not disable Flashcard shortcuts or tagsForse già presa @tiensonqin l’ha presa 60 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Tutte le issue di logseq/db-test
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ccch1mneyyy/dsh-Go#1777 ·
I maintainer di solito rispondono entro 1 giorno
-
ready-for-agent
Difficoltà 2/5 Mezza giornata Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
[机型] BRAVIA 4K 2015Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
pengchujin/aerial-tv#1736 ·
I maintainer di solito rispondono entro 1 giorno
-
bug needs info
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
RamazanKara/nightjar#155 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
type:bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
ProdigyV21/ARVIO#931 ·
I maintainer di solito rispondono entro 1 giorno