Skip to content

Crash when clicking on linked references filter button #526

Closed

Description

@kerim

Search first

  • I searched and no similar issues were found

What Happened?

I have a page on which I filtered linked references. Currently no references are showing. No number is displayed, but I think it should show 2 or 3 linked references. However, when I try to clear the filter, I immediately trigger a crash. Here is the error report:

Error caught by UI!
TypeError: Cannot read properties of null (reading 'toLowerCase')
TypeError: Cannot read properties of null (reading 'toLowerCase')
at Object.vj (https://test.logseq.com/js/main.js:5616:334)
at Function. (https://test.logseq.com/js/main.js:17827:165)
at iia (https://test.logseq.com/js/main.js:5485:64)
at hia (https://test.logseq.com/js/main.js:5484:71)
at fia (https://test.logseq.com/js/main.js:5483:398)
at gia (https://test.logseq.com/js/main.js:5483:311)
at Hf.A (https://test.logseq.com/js/main.js:10714:163)
at d (https://test.logseq.com/js/main.js:6542:66)
at mf (https://test.logseq.com/js/react-dom.production.min.js:105:412)
at Qk (https://test.logseq.com/js/react-dom.production.min.js:250:214)
at Ri (https://test.logseq.com/js/react-dom.production.min.js:195:185)
at Ok (https://test.logseq.com/js/react-dom.production.min.js:195:116)
at Nd (https://test.logseq.com/js/react-dom.production.min.js:194:492)
at Qf (https://test.logseq.com/js/react-dom.production.min.js:187:439)
at Li (https://test.logseq.com/js/react-dom.production.min.js:189:234)
at db (https://test.logseq.com/js/react-dom.production.min.js:79:182)
at https://test.logseq.com/js/react-dom.production.min.js:184:289

Reproduce the Bug

Not sure if this is reproducible. May be caused by filtering ALL linked references? But I'm afraid to test...

Expected Behavior

Should be able to clear all filters without crashing

Files

No response

Browser, Desktop or Mobile Platform Information

MacOS
Chrome Browser
logseq/logseq@c03b55b

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!)

Activity

  1. self-assigned this
    on Oct 27, 2025
  2. added
    bug
    on Oct 27, 2025
  3. tiensonqin commented on Oct 27, 2025

    @tiensonqin
    Contributor

    Can you send a debug transit file to [email protected]?

  4. kerim commented on Oct 27, 2025

    @kerim
    Author

    Done

  5. tiensonqin commented on Oct 28, 2025

    @tiensonqin
    Contributor

    @kerim What's the page UUID?

  6. kerim commented on Oct 28, 2025

    @kerim
    Author

    Sorry, I don't recall which page I was using. I should have made a note of it at the time, but I didn't think of it.

    I am currently unable to reproduce the bug.

  7. tiensonqin commented on Oct 28, 2025

    @tiensonqin
    Contributor

    No problem, I'm going to close this issue, let me know if you encounter it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

buglinked references

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions