Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text Property becomes unchangeable once assigned, breaks associated pages & nodes #185

Open
1 of 2 tasks
lloydmarquart opened this issue Dec 7, 2024 · 0 comments
Open
1 of 2 tasks
Assignees
Labels
bug Something isn't working

Comments

@lloydmarquart
Copy link

Search first

  • I searched and no similar issues were found

What Happened?

A text property (with pre-defined values) on the Journal tag in the graph I had been using since about 1 to 2 weeks seems to have broken. Now once I assign any value to it, I can't change it anymore. I also can't delete pages or nodes that have a value assigned to this property, delete the property itself, or remove it from pages/nodes... The problem persists when exporting and importing as a new graph.

Below is the error that appears in the console when trying to change the value:

Error: No protocol method INode.node-disj defined for type null: 
    at $APP.sb (core.cljs:328:4)
    at Iwa (persistent_sorted_set.cljs:270:1)
    at $APP.k.Es (persistent_sorted_set.cljs:457:27)
    at Iwa (persistent_sorted_set.cljs:278:24)
    at $APP.k.Es (persistent_sorted_set.cljs:457:27)
    at Iwa (persistent_sorted_set.cljs:278:24)
    at $APP.k.Es (persistent_sorted_set.cljs:457:27)
    at Iwa (persistent_sorted_set.cljs:278:24)
    at lxa (persistent_sorted_set.cljs:1196:19)
    at $APP.Gp.ca (core.cljs:5468:15)

And here is my JSON debug file:
logseq_db_fixed 2222-debug-datoms_1733583354.json

Reproduce the Bug

Unfortunately I wasn't able to reproduce this bug on a fresh graph.

Expected Behavior

No response

Screenshots

Screen.Recording.2024-12-07.at.23.50.44.mov

Browser, Desktop or Mobile Platform Information

No response

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!)
@tiensonqin tiensonqin self-assigned this Dec 15, 2024
@tiensonqin tiensonqin added the bug Something isn't working label Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants