Skip to content

layerssss/parse-hook-error-quirk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

parse-hook-error-quirk

parse-community/Parse-SDK-JS#399

When a hook yields an error in beforeSave hook. The change to an object is not applied. Call Query.find in browser again. API from parse-server are returning unchanged attributes of the object. But the Query.find is returning the changed obect.

Expect: Query.find should return the unchanged object.

Parse-server version: 2.3.2

Parse-JS-SDK: 1.9.2

Note: We have a running system with Parse-JS-SDK 1.5 with parse.com, on which this issue doesn't exist.

To run

npm install && node main.js
open http://localhost:3000/
# then open console

image