Your message dated Thu, 23 Feb 2023 18:21:48 +0100
with message-id <[email protected]>
and subject line Re: [Pkg-nagios-devel] Bug#1031825: icinga-php-library: 
Creation of dynamic property is deprecated in PHP 8.2
has caused the Debian Bug report #1031825,
regarding icinga-php-library: Creation of dynamic property is deprecated in PHP 
8.2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1031825: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031825
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: icinga-php-library
Version: 0.10.1-1
Severity: normal
Tags: upstream

Dear Maintainer,

I'm using Debian Bookworm with icinga-php-library 0.10.1-1 and PHP 8.2. When I 
log in in icingaweb2, I see three times this message in the left sidebar 
between the search bar in the menu:
Deprecated: Creation of dynamic property ipl\Sql\Config::$skip_validation is 
deprecated in /usr/share/icinga-php/ipl/vendor/ipl/sql/src/Config.php on line 32

Upstream report: https://github.com/Icinga/ipl-sql/issues/69

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (800, 'testing'), (700, 'stable-security'), (700, 'stable'), 
(650, 'proposed-updates'), (200, 'unstable'), (160, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.0.0-6-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages icinga-php-library depends on:
ii  icinga-php-thirdparty    0.11.0-2
ii  php-intl                 2:8.2+93
ii  php8.2-cgi [php-json]    8.2.2-3
ii  php8.2-cli [php-json]    8.2.2-3
ii  php8.2-common [php-pdo]  8.2.2-3
ii  php8.2-fpm [php-json]    8.2.2-3
ii  php8.2-intl [php-intl]   8.2.2-3

icinga-php-library recommends no packages.

icinga-php-library suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
tags 1031825 - moreinfo
thanks

On 2/23/23 18:10, Frederik Himpe wrote:
Sebastiaan Couwenberg schreef op 2023-02-23 17:59:

 skip_validation is not a documented resource option:

https://icinga.com/docs/icinga-web/latest/doc/04-Resources/#configuration

 You likely have this in /etc/icingaweb2/resources.ini though, can you
confirm that?

Yes:
my icingadb resource has:
skip_validation = "0"

This was set by the icingaweg2 setup: there is an option "Skip validation" which ignores any errors if it cannot connect to the database. Some screenshots with this option are here: https://github.com/Icinga/icingaweb2/issues/4291

Anyway, I temporarily used this option during the setup but I don't need this any more so I removed it. The errors are gone now and everything works as expected.

Thanks for your confirmation.

We could add skip_validation to the php8.2.patch, but since bookworm is frozen in preparation of the release, it won't be easy to get that change in before the release.

Since the manual fix is trivial, I'll close this issue without further action. If many more users run into this issue, we can fix it with a stable update after the release.

Kind Regards,

Bas

--
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

--- End Message ---

Reply via email to