From 3367485c0bc0d0ef8007238669f0d136f25a880b Mon Sep 17 00:00:00 2001 From: Denis Leemann Date: Fri, 1 Nov 2024 15:44:46 +0100 Subject: [PATCH] IMP openupgrade disable_invalid_filters --- openupgradelib/openupgrade.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/openupgradelib/openupgrade.py b/openupgradelib/openupgrade.py index 4e68d562..80e6939c 100644 --- a/openupgradelib/openupgrade.py +++ b/openupgradelib/openupgrade.py @@ -2898,6 +2898,13 @@ def format_message(f): ) f.active = False break + # ACTION_ID + if f.action_id and not f.action_id.exists(): + logger.warning( + format_message(f) + "as it contains an invalid action_id %s.", + f.action_id, + ) + f.active = False def add_fields(env, field_spec):