You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting liveQuery.classNames in the server config save all doesn't return object Id when saving more than one new objects. I assume that some sort of afterSave trigger is called that strips away the objectId. I've tested this against Parse Server 6. ObjectIds are returned when you saveAll on one object.
Since objectIds aren't returned you can't delete / save etc.
🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.
dplewis
added a commit
to dplewis/parse-php-sdk
that referenced
this issue
Apr 28, 2023
New Issue Checklist
Issue Description
When setting liveQuery.classNames in the server config save all doesn't return object Id when saving more than one new objects. I assume that some sort of afterSave trigger is called that strips away the objectId. I've tested this against Parse Server 6. ObjectIds are returned when you saveAll on one object.
Since objectIds aren't returned you can't delete / save etc.
I believe the issue can be found by looking https://github.com/parse-community/parse-server/blob/alpha/src/RestWrite.js#L1607
Steps to reproduce
Actual Outcome
Objects save but objectId is missing
Expected Outcome
Objects save and return Id.
Parse PHP SDK
2.0.0
8.1
Server
6.0.0
Mac
Local
Database
MongoDB
4.4
local
Logs
The text was updated successfully, but these errors were encountered: