laptop and a wrench

不具合

The hasError bit in validation status is not set when the last rule in the class passes evaluation.

ArcGIS GIS Server
不具合 ID 番号 BUG-000154144
送信されましたDecember 2, 2022
最終更新日June 5, 2024
適用対象ArcGIS GIS Server
見つかったバージョン11.0
オペレーティング システムN/A
オペレーティング システムのバージョンN/A
修正されたバージョン3.1/3.0.2/2.9.5/11.1/10.9.1p2/10.8.1p8
ステータスFixed

参考情報

Evaluate may not remove errors from features that are fixed. When Evaluate generates an error for one or more rules, but the last rules succeeds, the validation status status gets out of sync. This causes errors to not clear even when fixed. This error is fixed in ArcGIS Enterprise 11.1 and has been ported back to ArcGIS Enterprise 10.9.1 Patch 2 and ArcGIS Enterprise 10.8.1 Patch 8. It has also been ported back to versions 2.9.5 and 3.0.2.

対処法

To workaround this bug do the following:

1) Create a new validation attribute rule and name it `workaroundrule` with the following Arcade script at the end for each of your classes that have validation rules:

``` var g = $feature.globalid var x = FeatureSetByName($datastore,"GDB_ValidationPolygonErrors") var f = Filter(x, "FEATUREGLOBALID = @g AND RULENAME < > 'workaroundrule'") if (count(f) == 0) return true; return false; ```

2) Change the name of the of the error class GDB_ValidationPolygonErrors based on the class geometry type. For example if the class is polygon use GDB_ValidationPolygonErrors if it is a point use GDB_ValidationPointErrors if it is a line use GDB_ValidationLineErrors and it is a table use GDB_ValidationObjectErrors.

再現の手順

不具合 ID: BUG-000154144

ソフトウェア:

  • ArcGIS GIS Server

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動