fields
fields copied to clipboard
Fields Plugin can not be configured as automatic action due to active profile check
The Fields import could be automated with automatic action. In container.class.php the code makes reference to $_SESSION['glpiactiveprofile']['id'] not set in case of Cron job.
There would the a solution found in other sections of GLPI core: if (Session::isCron() || !isset($_SESSION['glpiactiveprofile']['id'])) { // define a default Session }
The code runs in this exception: *** Uncaught Exception ErrorException: Undefined index: glpiactiveprofile in /usr/share/glpi/plugins/fields/inc/container.class.php at line 1446