** Attachment added: "attachment"
   https://bugs.launchpad.net/bugs/1571402/+attachment/4691954/+files/attachment

** Description changed:

+ [Impact]
+ 
+  * icingaweb2 web interface fails to display, indicating exceptions with
+ variables being passed by reference.
+ 
+  * Upstream icingaweb2 has fixed this via 4 patches in
+ https://dev.icinga.org/issues/10251.
+ 
+ [Test Case]
+ 
+  * Install icingaweb2 and attempt to navigate to http://<ip>/icingaweb2.
+ Successful page load is a positive test.
+ 
+ [Regression Potential]
+ 
+  * As currently packaged, icingaweb2 is non-functional, so the
+ regression potential is low. Additionally, the patches applied are the
+ same (with adjustment for context) to those applied upstream to fix the
+ same issue.
+ 
  https://dev.icinga.org/issues/10251
  
  Related PHP7 compatibility issues were fixed in version 2.2.0 but Xenial
  ships with 2.1.0. Essentially the software is unusable, setup crashes
  right off the bat with:
  
  Fatal error: Uncaught ErrorException: Only variables should be passed by
  reference in /usr/share/php/Icinga/Util/Translator.php:259 Stack trace:
  #0 /usr/share/php/Icinga/Util/Translator.php(259):
  Icinga\Application\ApplicationBootstrap->Icinga\Application\{closure}(8,
  'Only variables ...', '/usr/share/php/...', 259, Array) #1 [internal
  function]: Icinga\Util\Translator::Icinga\Util\{closure}(Array, Array)
  #2 /usr/share/php/Icinga/Util/Translator.php(261): usort(Array,
  Object(Closure)) #3 /usr/share/php/Icinga/Application/Web.php(527):
  Icinga\Util\Translator::getPreferredLocaleCode('en-US,en;q=0.8,...') #4
  /usr/share/php/Icinga/Application/ApplicationBootstrap.php(610):
  Icinga\Application\Web->detectLocale() #5
  /usr/share/php/Icinga/Application/Web.php(92):
  Icinga\Application\ApplicationBootstrap->setupInternationalization() #6
  /usr/share/php/Icinga/Application/ApplicationBootstrap.php(337):
  Icinga\Application\Web->bootstrap() #7
  /usr/share/php/Icinga/Application/webrouter.php(109):
  Icinga\Application\ApplicationBootstrap: in
  /usr/share/php/Icinga/Util/Translator.php on line 259

** Changed in: icingaweb2 (Ubuntu)
       Status: Triaged => In Progress

** Changed in: icingaweb2 (Ubuntu Xenial)
       Status: Triaged => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1571402

Title:
  icingaweb2 2.1.0 fails to run with PHP7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/icingaweb2/+bug/1571402/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to