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

Bug: Spinning wheel when running UPSERT queries with RETURN DIFF #543

Open
2 tasks done
cscetbon opened this issue Oct 27, 2024 · 1 comment
Open
2 tasks done

Bug: Spinning wheel when running UPSERT queries with RETURN DIFF #543

cscetbon opened this issue Oct 27, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@cscetbon
Copy link

cscetbon commented Oct 27, 2024

Describe the bug

Getting a spinning wheel when trying a specific sequence of queries. It doesn't happen if I remove the RETURN DIFF keywords

Steps to reproduce

Run query

UPSERT person:100 CONTENT { 
	name: 'Tobie', 
	company: 'SurrealDB', 
	skills: ['Rust', 'Go', 'JavaScript'],
} RETURN DIFF

Then try to run this query

UPSERT person:100 CONTENT { 
	name: 'Tobie', 
	company: 'SurrealDB', 
	skills: ['Rust2', 'Go', 'JavaScript'],
} RETURN DIFF
Screenshot 2024-10-26 at 10 41 35 PM

Expected behaviour

No spinning wheel

Surrealist Environment

Version 3.0.8 (20241015.095914)

Contact Details

No response

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct
@cscetbon cscetbon added bug Something isn't working triage This issue is new labels Oct 27, 2024
@macjuul macjuul removed the triage This issue is new label Oct 27, 2024
@macjuul
Copy link
Contributor

macjuul commented Oct 29, 2024

For context this appears to be caused by an unreachable panic thrown in surrealdb.wasm
image

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