Closed bcbeta closed 8 months ago
Are you able to take a shot at a pull request with a fix and test case? If so, I’ll review it
Unfortunately I don't have the knowledge/skill to do this. Maybe someone else will encounter this issue and come up with a fix.
Looking at this further, I believe the issue is you are trying to update relationships to objects that haven't been saved yet. Is your problem fixed if you photos.saveAll()
first and then update the relationships?
Feel free to reopen if my solution above doesn’t work.
New Issue Checklist
Issue Description
When adding new relationship objects to an existing mergeable object, "Object not found" error is thrown.
Steps to reproduce
Actual Outcome
Save the pfPhoto and observation objects.
Expected Outcome
Throws "object not found" error
Environment
Client
5.8
14.3.1
iOS 16.4
Server
4.5