parse-community / Parse-SDK-iOS-OSX

The Apple SDK for Parse Platform (iOS, macOS, watchOS, tvOS)
https://parseplatform.org
Other
2.81k stars 864 forks source link

Live Query's Event.updated fails to send the correct fields of an object after the first update #1667

Open atonylai opened 1 year ago

atonylai commented 1 year ago

Issue Description

Parse Live query returns the object with the correct fields for Event.updated on the first change but fails to update any subsequent changes.

Steps to reproduce

  1. Set up a parse live query with Event.updated
  2. Update the object, whether through another device or the database manually
  3. print the object in the Event.updated handler
  4. note that the object has had the field updated
  5. Change any field on the object again
  6. note that the object sent down has the same properties as in step 4, ignoring the changes in step 5.

Having an object get updated by a different source works (such as using two phones to update the same object) as long as the source of the update is different each time

Actual Outcome

Fields should be updated on subsequent updates

Expected Outcome

Fields were not updated on subsequent updates

Environment

Back4app, Parse Server version

Client

Server

Database

Logs

parse-github-assistant[bot] commented 1 year ago

Thanks for opening this issue!