Hotfix Release opsi-script 4.12.17.2-6

News and announcements
Antworten
Benutzeravatar
j.werner
uib-Team
Beiträge: 86
Registriert: 08 Okt 2019, 13:32

Hotfix Release opsi-script 4.12.17.2-6

Beitrag von j.werner »

Dear opsi users,

this hotfix fixes a problem with opsiconfd versions >=4.3.28.15 and opsi-script versions < 4.12.17.2 regarding empty/non-existent default product property values ​​in opsi-script scripts when using the function GetProductPropertyList(<property name>, <default value>). The problem occurs when a) no product property values ​​have yet been set for a client that deviate from the server/depot defaults and b) deviating or empty default values ​​from the server/depot were specified in the function call itself.

The background is that with opsiconfd version 4.3.28.15 the standard ACL was changed so that opsi clients can only read their own ProductPropertyStates. In order to take the ProductPropertyStates inherited from the depot into account, the productPropertyState_getValues ​​method must now be used. Unfortunately, we missed the fact that opsi-script itself used the API method productPropertyState_getObjects at one point.

NOTE: Please also check in your packages whether you use the API method productPropertyState_getObjects in an opsiservicecall and replace it with productPropertyState_getValues.

===========================
Packages for opsi 4.3 stable:
===========================

== OPSI_PACKAGE ==
opsi-script 4.12.17.2-6 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt
opsi-winst 4.12.17.2-6 https://changelog.opsi.org/Releases/4.3 ... ngelog.txt

Best regards,
Jan Werner


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Antworten