Clear Location Field won't pass Null but Keeps the existing Values in Location Fields.
NewTech2000 opened this issue · comments
Nipuna Sachith commented
Please fill out the following details:
- Version of Mobile SDK Used: 10.1.1 and 10.2.0
- Issue found in Native App or Hybrid App: Hybrid app
- OS Version: 12.0.0
- Device: All Android devices
- Steps to reproduce: When clearing Location fields, assign the Null value to an already existing value.
- 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
- 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. - Error Log: No error logs.
Wolfgang Mathurin commented
Looks like a duplicate of #2445
Could you answer the questions I had there?
Nipuna Sachith commented
Looks like a duplicate of #2445 Could you answer the questions I had there?
Okay
Wolfgang Mathurin commented
Closing this issue - since it's a duplicate.