icingaweb2 vs PHP 8 compatibility failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
icingaweb2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
On Ubuntu 23.04, when clicking on a specific service to get details, the web browser shows this backtrace; back in 18.04, clicking on this was useful to get the full output of a plugin to understand exactly what the plugin was reporting:
Uncaught ValueError: Unknown format specifier "!" in /usr/share/
Stack trace:
#0 /usr/share/
#1 /usr/share/
#2 /usr/share/
#3 /usr/share/
#4 /usr/share/
#5 /usr/share/
#6 /usr/share/
#7 /usr/share/
#8 /usr/share/
#9 /usr/share/
#10 /usr/share/
#11 /usr/share/
#12 /usr/share/
#13 {main}
thrown
Essentially the same problem existed with 22.10 though I did not get around to reporting this while I still had this running on 22.10; it's not clear to me whether the syntax used is documented as being expected to work in any version of PHP in the PHP documentation. It seems Debian 11 is still on PHP 7 whereas Ubuntu 23.04 uses PHP 8, so perhaps there may not have been much of a push to test icingaweb2 with PHP 8 yet.
# apt-cache policy icingaweb2
icingaweb2:
Installed: 2.11.4-2
Candidate: 2.11.4-2
Version table:
*** 2.11.4-2 500
500 http://
500 http://
100 /var/lib/
# lsb_release -rd
No LSB modules are available.
Description: Ubuntu 23.04
Release: 23.04