Skip to content

Commit

Permalink
Merge pull request #720 from yast/xml-validation-timeout
Browse files Browse the repository at this point in the history
XML validation timeout
  • Loading branch information
imobachgs committed Oct 21, 2020
2 parents 8e3eab3 + 0634ad8 commit 1d3aa5d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
7 changes: 7 additions & 0 deletions package/autoyast2.changes
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Oct 21 06:09:04 UTC 2020 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>

- 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 <igonzalezsosa@suse.com>

Expand Down
2 changes: 1 addition & 1 deletion package/autoyast2.spec
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion src/lib/autoinstall/xml_checks.rb
Expand Up @@ -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
Expand Down

0 comments on commit 1d3aa5d

Please sign in to comment.