Skip to content

Query Syntax Error locks the node #225

@hdansou

Description

@hdansou

Search first

  • I searched and no similar issues were found

What Happened?

When a query syntax is incorrect, with a typo for example, the query node goes into an error state and can not be edited or fixed. This happens with both:

  • Simple query
  • Advanced Query

Reproduce the Bug

  1. Create a simple query node
  2. Add this erroneous query (and "(and" (private-propertyas5: sdalogseq.task/status "Todo"))
  3. Exit edit mode and observe the error message

Image

Expected Behavior

A failed query because of a mistake in the query syntax should be editable in order to fix it.

Files

No response

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions