diff --git a/app/models/champ.rb b/app/models/champ.rb index 5a9e79520..1062221dc 100644 --- a/app/models/champ.rb +++ b/app/models/champ.rb @@ -89,7 +89,8 @@ class Champ < ApplicationRecord end def blank? - type_de_champ.champ_blank?(self) + # FIXME: temporary fix to avoid breaking validation + in_dossier_revision? ? type_de_champ.champ_blank?(self) : value.blank? end def used_by_routing_rules?