Repository navigation
Description
What happened
Changing a tag-table Text-property filter from is to text contains immediately replaces the whole app with Something went wrong, before a search string can be entered. text not contains has the same result. Reloading alone keeps the error; Undo followed by reload restores the original equality filter.
Minimal reproduction
Use a disposable DB graph. This was reproduced with one ordinary block, one tag, and one fresh Text property; no queries, custom templates, child blocks, or imports are needed.
- Create a page and one block named
QA filter one. - Tag it with a new tag,
QAFilterMinimal. - Open the tag page. Expand its schema, choose Add property, create
QA Minimal Note, and select Text. - Return to the original block and set
QA Minimal NotetoApple. Save, reload, and verify the value remains. - Open the tag page again. Its table has one row with
Apple. - Click the table's funnel/filter button, choose
QA Minimal Note, checkApple, and dismiss the picker. Verify the healthy clauseQA Minimal Note is Appleand one matching row. - Click the
isoperator in that clause, then choose text contains. - Do not type anything. The app immediately shows Something went wrong instead of the table and filter editor.
The same failure occurs when step 7 selects text not contains.
Expected
The operator changes and exposes a text input so the user can enter a search string. An incomplete filter should remain editable without taking down the app.
Actual, frequency, and recovery
is → text contains: 2/2, across two separately created tag/Text-property fixtures in one disposable graph. The second fixture is the one-block reproduction above.is → text not contains: 1/1 on the first fixture.- The first fixture had
Apple,apple, andbanana; its completed equality filter correctly selected onlyApplebefore conversion. - Reload alone after the first crash still showed the full-app error.
- Ctrl+Z once, then Ctrl+R restored the original
is Applefilter and healthy table. This recovery worked after each of the three trials. Undo alone did not dismiss the error boundary in the explicitly observed negative-contains trial. - No block-content loss was observed. This report is about a persisted invalid view/filter state and the resulting UI failure.
Runtime evidence
Electron renderer log at 2026-10-02 01:02:23 UTC, immediately after the operator change:
The above error occurred in the <loaded-view-aux> component.
[frontend.ui] ... :message "Invalid view resource context"
React ErrorBoundary Error: Invalid view resource context
Source investigation
This appears to be a mismatch between the UI's edit-in-progress filter representation and resource-context validation, rather than the case-comparison behavior:
- Worker operator conversion clears the old selected-value collection when switching to a text operator.
- The operator UI then emits a two-element
[property operator]clause. - Filter persistence also removes a nil third element.
- View-resource validation requires exactly three elements and throws the observed error.
This is a source-backed explanation, not a runtime trace of the stored clause or a proven introducing commit.
Related reports checked
- #1322 / logseq#13487: case-sensitive negative contains. This failure happens before text can be entered, so that comparison could not be reached through this UI flow.
- #1368 / logseq#13538, and logseq#13547: deleted rows/owners and different resource errors. No entity is deleted here.
- Closed #526: older linked-reference filter
toLowerCaseerror with a different trigger.
No exact duplicate was found in open/closed db-test issues or active Logseq PRs.
Platform
- Desktop Electron development build, Logseq DB 2.0.1
- Debian GNU/Linux 13, x86_64
- Electron 42.3.0 / Chromium 148.0.7778.180
- Official
mastercommit 22263c36204c86949df6cb4bfa278be0aa215353 - Renderer and Node worker loaded revision verified; no production-source modifications
- Reproduced with actual native mouse/keyboard interaction on 2026-10-02
- Web app untested: the available cloud-browser route to the local dev server is restricted. No cross-platform claim
Activity
yuxi-liu-wired commentedon Oct 27, 2026
Fixed in logseq/logseq#13884 (fix(views): table filters keep working when a clause is empty or matches text values). Its description has the cause and the test that pins it; it fails on current master and passes with the fix.
fix(views): accept a filter clause that has no value yet
fix(views): accept a filter clause that has no value yet
fix(views): accept a filter clause that has no value yet
fix(views): accept a filter clause that has no value yet
fix(views): accept a filter clause that has no value yet
fix(views): accept a filter clause that has no value yet
fix(views): accept a filter clause that has no value yet
fix(views): accept a filter clause that has no value yet
fix(views): accept a filter clause that has no value yet
fix(views): accept a filter clause that has no value yet
fix(views): accept a filter clause that has no value yet
fix(views): accept a filter clause that has no value yet
fix(views): accept a filter clause that has no value yet