Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package yast2-s390 for openSUSE:Factory 
checked in at 2023-05-10 17:39:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-s390 (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-s390.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-s390"

Wed May 10 17:39:21 2023 rev:30 rq:1086103 version:4.6.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-s390/yast2-s390.changes    2023-03-03 
22:32:06.544210825 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-s390.new.1533/yast2-s390.changes  
2023-05-10 17:39:29.835693566 +0200
@@ -1,0 +2,9 @@
+Wed May 10 13:35:34 UTC 2023 - Stefan Hundhammer <shundham...@suse.com>
+
+- Prevent crash when the user closes the DASD context menu
+  without action (bsc#1211213)
+- Graceful handling of missing actions in the DASD context menu:
+  just log an error, don't crash
+- 4.6.1
+
+-------------------------------------------------------------------

Old:
----
  yast2-s390-4.6.0.tar.bz2

New:
----
  yast2-s390-4.6.1.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-s390.spec ++++++
--- /var/tmp/diff_new_pack.Og5p3q/_old  2023-05-10 17:39:30.327696474 +0200
+++ /var/tmp/diff_new_pack.Og5p3q/_new  2023-05-10 17:39:30.331696498 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-s390
-Version:        4.6.0
+Version:        4.6.1
 Release:        0
 Group:          System/YaST
 License:        GPL-2.0-only

++++++ yast2-s390-4.6.0.tar.bz2 -> yast2-s390-4.6.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-s390-4.6.0/package/yast2-s390.changes 
new/yast2-s390-4.6.1/package/yast2-s390.changes
--- old/yast2-s390-4.6.0/package/yast2-s390.changes     2023-03-03 
15:59:44.000000000 +0100
+++ new/yast2-s390-4.6.1/package/yast2-s390.changes     2023-05-10 
17:09:12.000000000 +0200
@@ -1,4 +1,13 @@
 -------------------------------------------------------------------
+Wed May 10 13:35:34 UTC 2023 - Stefan Hundhammer <shundham...@suse.com>
+
+- Prevent crash when the user closes the DASD context menu
+  without action (bsc#1211213)
+- Graceful handling of missing actions in the DASD context menu:
+  just log an error, don't crash
+- 4.6.1
+
+-------------------------------------------------------------------
 Fri Mar 03 14:44:07 UTC 2023 - Ladislav Slezák <lsle...@suse.cz>
 
 - Bump version to 4.6.0 (bsc#1208913)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-s390-4.6.0/package/yast2-s390.spec 
new/yast2-s390-4.6.1/package/yast2-s390.spec
--- old/yast2-s390-4.6.0/package/yast2-s390.spec        2023-03-03 
15:59:44.000000000 +0100
+++ new/yast2-s390-4.6.1/package/yast2-s390.spec        2023-05-10 
17:09:12.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-s390
-Version:        4.6.0
+Version:        4.6.1
 Release:        0
 Group:          System/YaST
 License:        GPL-2.0-only
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-s390-4.6.0/src/include/s390/dasd/dialogs.rb 
new/yast2-s390-4.6.1/src/include/s390/dasd/dialogs.rb
--- old/yast2-s390-4.6.0/src/include/s390/dasd/dialogs.rb       2023-03-03 
15:59:44.000000000 +0100
+++ new/yast2-s390-4.6.1/src/include/s390/dasd/dialogs.rb       2023-05-10 
17:09:12.000000000 +0200
@@ -142,7 +142,14 @@
     # @param action [Y2S390::DasdAction] the action to perform
     # @param selected [Y2S390::DasdsCollection] the collection of DASD devices 
to work with
     def run(action, selected)
-      Object.const_get(action_class_for(action)).run(selected)
+      return false if action == :cancel # Ignore closing the context menu 
(bsc#1211213)
+
+      begin
+        Object.const_get(action_class_for(action)).run(selected)
+      rescue NameError => e
+        log.error("No action for #{action}: #{e}")
+        return false
+      end
     end
 
     def PerformAction(action)

Reply via email to