**Steps to Reproduce** - Navigate to /administrate/setup/DataDictionary/ListEntries - Create a new rule bound to ca_objects.X (X being a metadataElement you defined yourself - in my case: ca_objects.minimumDepthInMeters = numeric field) - Set the Rule Level to Error and the Expression to ^ca_objects.minimumDepthInMeters ="", click Save - Set Restrict to types and choose a type (in my case DNA from soil and soil sample), click Save - Make a new object record of another type that has the metadataElement (in my case DNA from water) and leave the minimumDepthInMeters field blank - The error is given, even though it was not selected for that specific type of object.
Steps to Reproduce