From c5f274fbe695d15907cb314631b98c72c79747c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Imobach=20Gonz=C3=A1lez=20Sosa?= Date: Wed, 21 Oct 2020 07:07:48 +0100 Subject: [PATCH 1/2] Add a timeout to the XML validation error dialog * It honors the AutoYaST timeout for warning messages. --- src/lib/autoinstall/xml_checks.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/autoinstall/xml_checks.rb b/src/lib/autoinstall/xml_checks.rb index 435f7f4ce..97ba69256 100644 --- a/src/lib/autoinstall/xml_checks.rb +++ b/src/lib/autoinstall/xml_checks.rb @@ -100,8 +100,9 @@ def check(file, schema, msg) ret = Yast2::Popup.show(message(msg, validator.errors, file, schema), richtext: true, - headline: :error, + headline: :warning, buttons: :continue_cancel, + timeout: Yast::Report.Export["warnings"]["timeout"], focus: :cancel) == :continue if ret From 0634ad8d2c3849496e62fb095e77ea8768e07c45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Imobach=20Gonz=C3=A1lez=20Sosa?= Date: Wed, 21 Oct 2020 07:10:58 +0100 Subject: [PATCH 2/2] Bump version and update changes file --- package/autoyast2.changes | 7 +++++++ package/autoyast2.spec | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/package/autoyast2.changes b/package/autoyast2.changes index d8c62ecc8..fcb5119c9 100644 --- a/package/autoyast2.changes +++ b/package/autoyast2.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Oct 21 06:09:04 UTC 2020 - Imobach Gonzalez Sosa + +- AutoYaST warnings timeout applies to the XML validation error + dialog (bsc#1176973). +- 4.3.62 + ------------------------------------------------------------------- Tue Oct 13 10:06:05 UTC 2020 - Imobach Gonzalez Sosa diff --git a/package/autoyast2.spec b/package/autoyast2.spec index 5d2dc2d95..5247a34c6 100644 --- a/package/autoyast2.spec +++ b/package/autoyast2.spec @@ -22,7 +22,7 @@ %endif Name: autoyast2 -Version: 4.3.61 +Version: 4.3.62 Release: 0 Summary: YaST2 - Automated Installation License: GPL-2.0-only