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

Improve error message returned when including invalid characters in 'coordinate format' name #643

Closed BrandonArmstrong closed 4 years ago

BrandonArmstrong commented 4 years ago

When including special characters, spaces, or other commonly restricted values in the name of a new coordinate format, the following error is returned when attempting to save...

Spaces in Name

This led to several questions/followup actions:

  1. Should the naming of a new coordinate format be restricted? (no spaces, special characters, etc.) If not, we should not restrict the formatting of coordinate format names.

  2. If the coordinate format name should be restricted, we should restructure the error message to be more helpful regarding how to fix the issue. I would suggest using the error message included here:

000354: The name contains invalid characters.

The issue can be reproduced by using the workflow referenced here and including a space or special character in the name used during step 5.

ArcGIS Pro 2.5.0 Military Tools Add-In Version 2019.3.19

BrandonArmstrong commented 4 years ago

Closing as issue has been opened in internal repo https://devtopia.esri.com/ArcGISPro/military-tools/issues/59