Select to view content in your preferred language

Arcade parsing comments on Attribute Rule save

169
0
05-21-2024 08:39 AM
HaydenWelch
Occasional Contributor

I've noticed a pretty serious bug with how Arcade or possibly Arc Pro lints attribute rules. If a non existent table is left in the code (even as a comment) it will fail to save the rule.

This is definitely unintended behavior because the Expression Editor validates the code just fine (as in it ignores possibly invalid code in a comment block), but when the validation on save is triggered, it gives the catchall "Something Unexpected caused the tool to fail" error.

 

Attached is an image with some code examples:

HaydenWelch_0-1716305955310.png

 

0 Kudos
0 Replies