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

Pasting a list that has an empty row results in the coordinate prior to the empty row being duplicated. #499

Closed dfoll closed 6 years ago

dfoll commented 6 years ago

Current Behavior

When pasting a list in the the Coordinate Conversion List box, empty "rows" are treated as a valid piece of data and read by the add-in, what the add-in does with that empty row is to duplicate the last valid coordinate it was given.

Expected Behavior

The add-in completely skips an empty row as if nothing was there.

Repro Steps

  1. Using the attached text document, select everything in the text document
  2. right-click > "Paste" on the list window in Coordinate Conversion. Results
    • Eleven coordinate locations are added to the list, although the text file only had ten valid coordinates.
    • The last and second to last values are the same. This is because the add-in the first value, encountered a "row" with no value, and decided to insert the same value again.

ArcGIS Pro 2.2 CC add-in build 20 ArcMap 10.6.1 MT build 48 CoordPaste.txt

dfoll commented 6 years ago

@lfunkhouser @topowright I left labels and other "metadata" off of this intentionally because the CC stuff has been sort of managed away from the team, and I don't want to break whatever system might be in place without me being aware