diff --git a/arches/app/models/tile.py b/arches/app/models/tile.py index 14b1e34c92e..ff11ca01b31 100644 --- a/arches/app/models/tile.py +++ b/arches/app/models/tile.py @@ -214,7 +214,8 @@ def check_for_constraint_violation(self, request): match = True duplicate_values.append(datatype.get_display_value(tile, node)) else: - return False + match = False + break if match is True: message = _('This card violates a unique constraint. The following value is already saved: ') raise TileValidationError(message + (', ').join(duplicate_values))