From f42a100527ec7499a9f350ca6f56c946b7d6fcf5 Mon Sep 17 00:00:00 2001 From: Thomas Florio Date: Thu, 26 Oct 2023 11:23:58 +0200 Subject: [PATCH] Added new subscription-matcher message --- .../subscription-matching/subscription-matching-messages.tsx | 4 ++++ ...lk-web.changes.mackdk.add-new-subscription-matcher-message | 1 + 2 files changed, 5 insertions(+) create mode 100644 web/spacewalk-web.changes.mackdk.add-new-subscription-matcher-message diff --git a/web/html/src/manager/audit/subscription-matching/subscription-matching-messages.tsx b/web/html/src/manager/audit/subscription-matching/subscription-matching-messages.tsx index b4da86e5bd55..f886dcc5b51d 100644 --- a/web/html/src/manager/audit/subscription-matching/subscription-matching-messages.tsx +++ b/web/html/src/manager/audit/subscription-matching/subscription-matching-messages.tsx @@ -59,6 +59,10 @@ class Messages extends React.Component { ": " + systems[data["system_id"]].name; break; + case "no_products_associated": + message = t("Subscription with unsupported part number and no associated product has been ignored."); + additionalInformation = data["part_number"]; + break; default: message = rawMessage["type"]; // we do not know the shape of the data, it could even be a complex nested object (bsc#1125600) diff --git a/web/spacewalk-web.changes.mackdk.add-new-subscription-matcher-message b/web/spacewalk-web.changes.mackdk.add-new-subscription-matcher-message new file mode 100644 index 000000000000..26ce8c7e812d --- /dev/null +++ b/web/spacewalk-web.changes.mackdk.add-new-subscription-matcher-message @@ -0,0 +1 @@ +- Handle new message from subscription-matcher (bsc#1216506)