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

ParseServerLiveQuery crashes on client side query. #4528

Closed
majidhassan opened this issue Jan 29, 2018 · 2 comments
Closed

ParseServerLiveQuery crashes on client side query. #4528

majidhassan opened this issue Jan 29, 2018 · 2 comments

Comments

@majidhassan
Copy link

Issue Description

I'm using parse-server live queries and I noticed, that a certain query written and subscribed to on the client side crashed my parse-server cloud call. The cloud call was interrupted and I found liveQuery related errors in the logs.

Steps to reproduce

  1. Run liveQuery with parse-server using PM2.
  2. Subscribe to a query similar to the below:
var query = new Parse.Query("MyObject");
query.notEqualTo("MyKey", null); // 'null' is what crashed it, when changed to 'undefined' it worked fine
  1. Run cloud call triggering the query subscribed to in 2.

Expected Results

Cloud call to continue normally, and only crash on the client side.

Actual Outcome

ParseServerLiveQuery crashed.

Environment Setup

  • Server

    • parse-server version: 2.3.8
    • Operating System: Ubuntu 16.04.3 x64
    • Hardware: DigitalOcean 1 GB (RAM) / 25 GB Disk
    • Remote Server: DigitalOcean
  • Database

    • MongoDB version: 3.4
    • Storage engine: MMAPv1
    • Hardware:
    • Remote Server: mLab

Logs/Trace

screen shot 2018-01-29 at 7 14 57 pm

@dplewis
Copy link
Member

dplewis commented Jan 30, 2018

@majidhassan I see you are running an older version of Parse Server. Can you update to latest version and see if the issue persists?

@stale
Copy link

stale bot commented Sep 18, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants