Esri / coordinate-conversion-addin-dotnet

Addin for ArcMap and Pro for convenient coordinate conversion in Desktop.
Apache License 2.0
45 stars 20 forks source link

Coordinate Conversion: should clear all outputs when invalid coordinate is entered #149

Closed lfunkhouser closed 7 years ago

lfunkhouser commented 7 years ago

From @elinz on December 14, 2016 18:53

NOTE: This is an enhancement, but a very critical enhancment

Widget

Coordinate Conversion

Version of widget

14 December 2016

Bug or Enhancement

When you specify an invalid coordinate in the Input textbox, any previous calculated results in the Output texboxes are not cleared. The last valid output is still displayed. This is extremely dangerous as the user may not have realized they entered an invalid coordinate or did not realize that the output values didn't change from the last valid coordinate entered; they will then copy the outputs to use in other applications thinking they copied valid values.

Example: The user enters the following valid MGRS coordinate: 34PFR1459853908 The output textboxes are updated to display the output coordinates... image

Then the user enters the following invalid MGRS coordinate, either because the user was given an invalid MGRS coordinate or maybe they did a copy/paste from a report and didn't copy all the coordinates: 34KGE358193443 (it's invalid because it's missing the 10th digit in the easting/northing; perfect example of a copy/paste issue)... We at least notify the user that there was a problem... image

But we should clear the output textboxes instead of leaving the calculated coordinates as it is now... image

Repo Steps or Enhancement details

Copied from original issue: Esri/solutions-webappbuilder-widgets#708

lfunkhouser commented 7 years ago

This issue was moved to Esri/solutions-webappbuilder-widgets#709

lfunkhouser commented 7 years ago

This issue was moved to Esri/solutions-webappbuilder-widgets#712