-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clear Locations won't pass Null but Keeps the existing Values in Geo Location Fields. #2445
Comments
Hi @ruchiranavishka can you please further explain what exactly you are doing? The Mobile SDK does not maintain a location field on user account or any other native object. Is the issue that you are trying to send null for a location value on a rest call? If so what is the endpoint? |
We are sending it through smartstore. See
data = Object fields form with values. Where Location field set to Null |
That is odd because upsert does not do a merge between old record and the provided one, it simply replaces the old record with the provided one. Could it be that the external id / external id path does not match the existing record, causing the upsert to actually create a new entry? |
Could you inspect the store to see what is happening? You can use the SmartStore inspector for that. |
Closing for lack of response from customer. |
Hi @wmathurin, the issue same as @ruchiranavishka posted. When clearing the Location field value should be empty when passing null instead it keeps the existing values. This worked as expected in SDK for IOS |
@wmathurin Any update regarding this issue ? |
Please fill out the following details:
The text was updated successfully, but these errors were encountered: