You are not logged in.
Pages: 1
Dear all,
we would like to assign a power supplies as a components to devices, but from standard interface it is not possible.
Currently in our configuration only Computers, Enclosures, Network Devices and Phones are assignable.
Is there some configuration option or this behavior is hardcoded?
Thank you.
Debian 11, GLPI 10.0.6, OCS 2.3.1, MariaDB 10.5.18, Apache 2.4.52, PHP 7.4.33
Offline
The behavior is hard-coded but the list of item types that can have power supplies is at least centralized in inc/define.php. Adding "Peripheral" to the array with the key "itemdevicepowersupply_types" should allow you to add power supplies to devices (internally named peripherals).
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline
Thank you very much for help.
Now, we are able to assign a power supply to device, although it is still not visible under the device detail in the components tab.
console glpi:cache:clear
was a magic command.
Maybe in future releases.
Now it works like a charm.
Last edited by bmichelsz (2022-07-27 10:45:36)
Debian 11, GLPI 10.0.6, OCS 2.3.1, MariaDB 10.5.18, Apache 2.4.52, PHP 7.4.33
Offline
Pages: 1