Bug 889595

Summary: JJ: yast http-server throws perl warnings on startup
Product: [openSUSE] openSUSE Tumbleweed Reporter: Christopher Hofmann <cwh>
Component: YaST2Assignee: Christopher Hofmann <cwh>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Minor    
Priority: P5 - None CC: forgotten_PzXOktpH6D, Vojtech.Zeisek
Version: 201407*   
Target Milestone: ---   
Hardware: x86-64   
OS: SUSE Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Christopher Hofmann 2014-07-30 13:07:31 UTC
linux:/etc # yast2 http-server
given is experimental at /usr/share/YaST2/modules/YaPI/HTTPD.pm line 358 (#1)
    (S experimental::smartmatch) given depends on smartmatch, which
    is experimental, so its behavior may change or even be removed
    in any future release of perl.  See the explanation under
    "Experimental Details on given and when" in perlsyn.
    
when is experimental at /usr/share/YaST2/modules/YaPI/HTTPD.pm line 359 (#2)
    (S experimental::smartmatch) when depends on smartmatch, which is
    experimental.  Additionally, it has several special cases that may
    not be immediately obvious, and their behavior may change or
    even be removed in any future release of perl.  See the explanation
    under "Experimental Details on given and when" in perlsyn.
    
when is experimental at /usr/share/YaST2/modules/YaPI/HTTPD.pm line 366 (#2)
given is experimental at /usr/share/YaST2/modules/YaPI/HTTPD.pm line 425 (#1)
when is experimental at /usr/share/YaST2/modules/YaPI/HTTPD.pm line 426 (#2)
when is experimental at /usr/share/YaST2/modules/YaPI/HTTPD.pm line 433 (#2)
given is experimental at /usr/share/YaST2/modules/YaPI/HTTPD.pm line 459 (#1)
when is experimental at /usr/share/YaST2/modules/YaPI/HTTPD.pm line 460 (#2)
when is experimental at /usr/share/YaST2/modules/YaPI/HTTPD.pm line 468 (#2)
given is experimental at /usr/share/YaST2/modules/YaPI/HTTPD.pm line 533 (#1)
when is experimental at /usr/share/YaST2/modules/YaPI/HTTPD.pm line 534 (#2)
when is experimental at /usr/share/YaST2/modules/YaPI/HTTPD.pm line 543 (#2)
linux:/etc #
Comment 1 Christopher Hofmann 2014-07-31 13:21:35 UTC
fixed in yast2-http-server 3.1.1 by rewriting given/when to simple if/elsif cascades
Comment 2 Martin Vidner 2014-10-13 12:56:44 UTC
*** Bug 900780 has been marked as a duplicate of this bug. ***
Comment 3 Christopher Hofmann 2016-10-25 16:10:33 UTC
*** Bug 871143 has been marked as a duplicate of this bug. ***