You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.
or dans le graphe typé déploiment : celui ci est renseigné.
la requete (extraite du inc/menu.class) :
SELECT plugin_fusioninventory_tasks_id
FROM glpi_plugin_fusioninventory_taskjobs
WHERE method LIKE '%deploy%'
$restrict_entity
GROUP BY plugin_fusioninventory_tasks_id
ne donne rien -> aucun enregistrement
aucun job deploiement : ok
mais le traitement continue : la requete du getjoblogs ne tient pas compte correctement du tableau de tache vide...
afin de palier ce souci :
dans menu.class, lignes 930 et suivantes il faudrait ajouter le code suivant (en gras)
// Do not get logs with the jobs states, this to avoid long request time
// and this is not useful on the plugin home page if(count($a_tasks)>0) {
$data = $pfTask->getJoblogs($a_tasks, $with_logs = false); }
else{
$data['tasks'] = [];
$data['agents'] = [];
}
The text was updated successfully, but these errors were encountered:
EC2311
changed the title
Menu déploiement : bug
Graphe déploiement : bug : mauvais chiffres !
Oct 6, 2023
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bonjour
Nous n'utilisons pas le deploiement
or dans le graphe typé déploiment : celui ci est renseigné.
la requete (extraite du inc/menu.class) :
SELECT
plugin_fusioninventory_tasks_id
FROM glpi_plugin_fusioninventory_taskjobs
WHERE method LIKE '%deploy%'
$restrict_entity
GROUP BY
plugin_fusioninventory_tasks_id
ne donne rien -> aucun enregistrement
mais le traitement continue : la requete du getjoblogs ne tient pas compte correctement du tableau de tache vide...
afin de palier ce souci :
dans menu.class, lignes 930 et suivantes il faudrait ajouter le code suivant (en gras)
// Do not get logs with the jobs states, this to avoid long request time
// and this is not useful on the plugin home page
if(count($a_tasks)>0) {
$data = $pfTask->getJoblogs($a_tasks, $with_logs = false);
}
else{
$data['tasks'] = [];
$data['agents'] = [];
}
The text was updated successfully, but these errors were encountered: