Files
kami-parse-server/src/LiveQuery
Simonas Karuzas 93b41170fd LiveQuery constrains matching fix (#2357)
* Removing sessionToken and authData from _User objects included in a query

This bug caused sessionToken to be replaced on client side to some old
sessionToken from DB.

* Removing dangling variable that is never used

* Checking if object has defined key for Pointer constraints in liveQuery

If there is a liveQuery subscription, with Pointer type constrains (e.g
query.equalTo('user', Parse.User.current())), and new object has
undefined value for that field, we get this error:

    error: Uncaught internal server error. [TypeError: Cannot read
property 'className' of undefined] TypeError: Cannot read property
'className' of undefined
    at matchesKeyConstraints
(…/node_modules/parse-server/lib/LiveQuery/QueryTools.js:145:51)

* LiveQuery constrains matching fix

When constrains == null, we get “Uncaught internal server error”
2016-07-22 21:27:52 -07:00
..
2016-03-18 12:32:31 -07:00
2016-03-18 12:32:31 -07:00
2016-03-18 12:32:31 -07:00
2016-03-18 12:32:31 -07:00
2016-03-18 12:32:31 -07:00
2016-03-18 12:32:31 -07:00
2016-03-18 12:32:31 -07:00
2016-03-28 20:16:58 -04:00
2016-03-18 12:32:31 -07:00
2016-03-18 12:32:31 -07:00
2016-03-18 12:32:31 -07:00
2016-03-18 12:32:31 -07:00