forcedotcom / SalesforceMobileSDK-Android

Android SDK for Salesforce
Other
342 stars 388 forks source link

Clear Location Field won't pass Null but Keeps the existing Values in Location Fields. #2475

Closed NewTech2000 closed 8 months ago

NewTech2000 commented 1 year ago

Please fill out the following details:

  1. Version of Mobile SDK Used: 10.1.1 and 10.2.0
  2. Issue found in Native App or Hybrid App: Hybrid app
  3. OS Version: 12.0.0
  4. Device: All Android devices
  5. Steps to reproduce: When clearing Location fields, assign the Null value to an already existing value.
  6. Actual behavior: 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
  7. Expected Behavior: When clearing the Location field value should be empty when assigned null instead it keeps the existing values. First, these Values are saved to the local soup field where it is saved as null after the soup syncs with the salesforce there are previously saved values. But when assigning an empty string it will updated as an empty string but the numerical fields show 0 when assigning an empty String. we expect when assign null to theLocation field the field should be updated as null. This worked as expected in SDK for IOS.
  8. Error Log: No error logs.
wmathurin commented 1 year ago

Looks like a duplicate of https://github.com/forcedotcom/SalesforceMobileSDK-Android/issues/2445 Could you answer the questions I had there?

NewTech2000 commented 1 year ago

Looks like a duplicate of #2445 Could you answer the questions I had there?

Okay

wmathurin commented 8 months ago

Closing this issue - since it's a duplicate.