laptop and a wrench

Bug

Modifying features fails when editing feature layers that have attribute rules using Arcade expression in ArcGIS Pro 2.5.

Last Published: July 27, 2020 ArcSDE/Enterprise Geodatabase
Bug ID Number BUG-000131981
SubmittedJuly 1, 2020
Last ModifiedJune 5, 2024
Applies toArcSDE/Enterprise Geodatabase
Version found10.7
Operating SystemWindows OS
Operating System Version10.0
StatusWill Not Be Addressed

Additional Information

This is by design. When creating a new attribute rule that references other classes, all those classes must exist in the feature service for the rule to work correctly on the user's side. If only a subset of the classes is to be published, then turn on the 'Exclude from client evaluation' option when adding the attribute rule.

Workaround

For polygon, add if ( find("rings", text(geometry($feature))) == -1) return $feature.county in the beginning of attribute rule's expression. This gaurds against empty geometries.

For polyline, add if (find("paths", text(geometry($feature))) == -1) return $feature.county

if (count(geometry($feature).paths) == 0) return $feature.county

Steps to Reproduce

Bug ID: BUG-000131981

Software:

  • ArcSDE/Enterprise Geodatabase

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