Closed
Description
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
- Run liveQuery with parse-server using PM2.
- 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
- 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
Metadata
Metadata
Assignees
Labels
No labels