Hello community,

here is the log from the commit of package yast2-iscsi-lio-server for 
openSUSE:Factory checked in at 2015-02-06 22:38:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-iscsi-lio-server (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-iscsi-lio-server.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-iscsi-lio-server"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/yast2-iscsi-lio-server/yast2-iscsi-lio-server.changes
    2014-12-05 21:04:19.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.yast2-iscsi-lio-server.new/yast2-iscsi-lio-server.changes
       2015-02-06 22:38:02.000000000 +0100
@@ -1,0 +2,6 @@
+Tue Feb  3 09:41:55 CET 2015 - [email protected]
+
+- show a warning popup in case of empty client list (bnc #898261)
+- 3.1.13
+
+-------------------------------------------------------------------
@@ -4,0 +11 @@
+- 3.1.12

Old:
----
  yast2-iscsi-lio-server-3.1.12.tar.bz2

New:
----
  yast2-iscsi-lio-server-3.1.13.tar.bz2

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

Other differences:
------------------
++++++ yast2-iscsi-lio-server.spec ++++++
--- /var/tmp/diff_new_pack.8VRmjC/_old  2015-02-06 22:38:03.000000000 +0100
+++ /var/tmp/diff_new_pack.8VRmjC/_new  2015-02-06 22:38:03.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package yast2-iscsi-lio-server
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-iscsi-lio-server
-Version:        3.1.12
+Version:        3.1.13
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ yast2-iscsi-lio-server-3.1.12.tar.bz2 -> 
yast2-iscsi-lio-server-3.1.13.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-iscsi-lio-server-3.1.12/package/yast2-iscsi-lio-server.changes 
new/yast2-iscsi-lio-server-3.1.13/package/yast2-iscsi-lio-server.changes
--- old/yast2-iscsi-lio-server-3.1.12/package/yast2-iscsi-lio-server.changes    
2014-12-04 11:26:53.000000000 +0100
+++ new/yast2-iscsi-lio-server-3.1.13/package/yast2-iscsi-lio-server.changes    
2015-02-04 12:19:11.000000000 +0100
@@ -1,7 +1,14 @@
 -------------------------------------------------------------------
+Tue Feb  3 09:41:55 CET 2015 - [email protected]
+
+- show a warning popup in case of empty client list (bnc #898261)
+- 3.1.13
+
+-------------------------------------------------------------------
 Thu Dec  4 09:50:19 UTC 2014 - [email protected]
 
 - remove X-KDE-Library from desktop file (bnc#899104)
+- 3.1.12
 
 -------------------------------------------------------------------
 Thu Sep  4 12:22:08 UTC 2014 - [email protected]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-iscsi-lio-server-3.1.12/package/yast2-iscsi-lio-server.spec 
new/yast2-iscsi-lio-server-3.1.13/package/yast2-iscsi-lio-server.spec
--- old/yast2-iscsi-lio-server-3.1.12/package/yast2-iscsi-lio-server.spec       
2014-12-04 11:26:53.000000000 +0100
+++ new/yast2-iscsi-lio-server-3.1.13/package/yast2-iscsi-lio-server.spec       
2015-02-04 12:19:11.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-iscsi-lio-server
-Version:        3.1.12
+Version:        3.1.13
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-iscsi-lio-server-3.1.12/src/include/iscsi-lio-server/widgets.rb 
new/yast2-iscsi-lio-server-3.1.13/src/include/iscsi-lio-server/widgets.rb
--- old/yast2-iscsi-lio-server-3.1.12/src/include/iscsi-lio-server/widgets.rb   
2014-12-04 11:26:53.000000000 +0100
+++ new/yast2-iscsi-lio-server-3.1.13/src/include/iscsi-lio-server/widgets.rb   
2015-02-04 12:19:11.000000000 +0100
@@ -643,6 +643,7 @@
           if @changed_lun.has_key?(s)
             txt = _("Client name already exists!")
           end
+          # TODO: check client name for valid chars (depends on solution for 
fate #318406)
           if !Builtins.isempty(txt)
             sym = :again
             UI.SetFocus(Id(:clnt))
@@ -1445,8 +1446,19 @@
 
     def validateClient(key, event)
       event = deep_copy(event)
-      ret = true
-      ret
+      clients = UI.QueryWidget(:clnt_table, :Items)
+      continue = true
+
+      if !clients.nil? && clients.empty?
+        continue = Popup.YesNoHeadline( Label.WarningMsg,
+                                        _("There isn't any client 
specified.\n" +
+                                        "To allow a client login to the 
target, please\n" +
+                                        "use the 'Add' button and enter the 
name\n" +
+                                        "(see /etc/iscsi/initiatorname.iscsi 
on initiator).\n" +
+                                        "Really want to continue without 
client access?"
+                                        ))
+      end
+      continue
     end
 
     def removeClntLun(tgt, tpg, clnt, lun)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to