From b1b41c18da0b8ce14a4a1eda9802ddb25c503854 Mon Sep 17 00:00:00 2001 From: "Luis M. Rodriguez-R" Date: Wed, 6 Dec 2023 22:23:43 +0100 Subject: [PATCH] Update quality_checks.rb --- app/models/name/quality_checks.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/models/name/quality_checks.rb b/app/models/name/quality_checks.rb index 508209c1..79951a13 100644 --- a/app/models/name/quality_checks.rb +++ b/app/models/name/quality_checks.rb @@ -730,7 +730,8 @@ def qc_warnings @qc_warnings.add(:missing_description) unless description? @qc_warnings.add(:invalid_effective_publication) if proposed_by&.prepub? @qc_warnings.add(:missing_publication_of_emendation) # check - if proposed_by.nil? && (register.nil? || register.before_notification?) + if proposed_by.nil? && + (register.nil? || register.notified? || register.validated?) @qc_warnings.add(:missing_effective_publication) end