laptop and a wrench

Bug

arcpy.Describe with data path as a parameter doesn't return the default aliasName for a geodatabase feature class or table.

Last Published: January 11, 2018 ArcGIS for Desktop
Bug ID Number BUG-000109412
SubmittedNovember 9, 2017
Last ModifiedJune 5, 2024
Applies toArcGIS for Desktop
Version found10.5.1
Operating SystemWindows OS
Operating System Version7.0 64 Bit
StatusWill Not Be Addressed

Additional Information

If the alias has not been set in the table properties dialog, the alias box shows the table name, but the alias has not actually been set.

Workaround

1. Load the data to ArcMap and use the layer/table name as arcpy.Describe() parameter, such as arcpy.Describe("testtable")" instead of the data path.2. Design your script logic to assume a null return of "arcpy.Describe().aliasName" indicates "arcpy.Describe().Name".

Steps to Reproduce

Bug ID: BUG-000109412

Software:

  • ArcGIS for Desktop

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options