Skip to content

ParseServerLiveQuery crashes on client side query. #4528

Closed
@majidhassan

Description

@majidhassan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions