Closed SteveGrise closed 7 years ago
Actually the value was being overwritten by later valuemap values even if there was a match in the data grid. Change to only set to Otherwise value if no match found.
Also fix domain map preview to show the source value if no matching map value found.
Preview shows "" now instead of 1.
But if I run the preview command, I get an error
setvalue is blank, that's what I'd expect to see for a number field
On 28 Mar 2017 7:07 p.m., "Previn Wong" notifications@github.com wrote:
Preview shows "" now instead of 1. [image: image] https://cloud.githubusercontent.com/assets/11183838/24431398/81054cec-13d0-11e7-91cb-9a2725284209.png
But if I run the preview command, I get an error [image: image] https://cloud.githubusercontent.com/assets/11183838/24431407/9132ec28-13d0-11e7-8cda-2ac32c8214c8.png
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/Esri/data-assistant/issues/153#issuecomment-289932201, or mute the thread https://github.com/notifications/unsubscribe-auth/AEh3BB-q8AhLhyxrS7XiHB_qFGdMn374ks5rqZKagaJpZM4MrsZL .
The errors are valid, since the field is required and it's an integer, just wondering if the messaging is is not user friendly. Ot just do a simple data type check and return a friendly message right away.
Yes, Preview Values could do type checking.
On Wed, Mar 29, 2017 at 11:28 AM, Previn Wong notifications@github.com wrote:
The errors are valid, since the field is required and it's an integer, just wondering if the messaging is is not user friendly. Ot just do a simple data type check and return a friendly message right away.
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/Esri/data-assistant/issues/153#issuecomment-290126702, or mute the thread https://github.com/notifications/unsubscribe-auth/AEh3BL0CcRFWnCM4sGvNzcFASSDTiYr8ks5rqniBgaJpZM4MrsZL .
initial issue is fixed. UI could show better message for type cast error, but closing since UI is minor
string value of empty string is 1