laptop and a wrench

Bug

The Field Calculator converts empty text strings to null values if there is no 'else' statement.

Last Published: February 14, 2017 ArcGIS for Desktop
Bug ID Number BUG-000101022
SubmittedNovember 28, 2016
Last ModifiedJune 5, 2024
Applies toArcGIS for Desktop
Version foundN/A
Operating SystemN/A
StatusWill Not Be Addressed

Additional Information

In Python, a function will return None by default if a value is not explicitly returned.

Workaround

Add an 'else' statement to return the original value if the condition is not met.

Steps to Reproduce

Bug ID: BUG-000101022

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