You are not logged in.
Pages: 1
Bonjour
Il y a un bug depuis la version 9.5.4 , j'ai mis a jour la version en 9.5.5
mais apres la saisie sur le helpdesk.html il y a le message suivant
[Thu Apr 15 22:56:49.530107 2021] [php7:notice] [pid 1601] [client 192.168.80.50:46828] PHP Notice: Undefined index: _users_id_requeste
r in /var/www/html/glpi/inc/ticket.class.php on line 1554, referer: https://glpi.cinor.org/front/helpdesk.php
y a til deja un ticket sur ce PB
comment peut on y résoudre ?
Merci
Merci
GLPI 10.0.11/ Plugins GlpiInventory / AgentGlpi : 1.5 < Serveur Debian 64 Bits>
Offline
Bonjour
Erreur trouve dans le php-error
[2021-04-19 13:01:47] glpiphplog.CRITICAL: *** Uncaught Exception TypeError: Argument 1 passed to Ticket::canDelegateeCreateTicket() mus
t be of the type integer, null given, called in /var/www/html/glpi/inc/ticket.class.php on line 1554 in /var/www/html/glpi/inc/ticket.clas
s.php at line 2424
Backtrace :
inc/ticket.class.php:1554 Ticket::canDelegateeCreateTicket()
inc/commondbtm.class.php:1132 Ticket->prepareInputForAdd()
front/tracking.injector.php:63 CommonDBTM->add()
Merci
GLPI 10.0.11/ Plugins GlpiInventory / AgentGlpi : 1.5 < Serveur Debian 64 Bits>
Offline
Bonjour
J'ai mis en commentaire la section
// Check a self-service user can create a ticket for another user.
// We condition the check with a bool flag set in front/tracking.injector.php (self-service ticket controller).
// This to avoid plugins having their process broken.
//if (isset($input['check_delegatee'])
// && $input['check_delegatee']
// && !self::canDelegateeCreateTicket($input['_users_id_requester'], ($input['entities_id'] ?? -2))) {
// Session::addMessageAfterRedirect(__("You cannot create a ticket for this user"));
// return false;
//}
et cela fonctionne
Merci
GLPI 10.0.11/ Plugins GlpiInventory / AgentGlpi : 1.5 < Serveur Debian 64 Bits>
Offline
Merci pour ton retour! :-)
Offline
Bonjour
j'ai toujours le problème avec la version 9.5.6
j'ai donc remis en commentaire dans ticket;class.php
Merci
GLPI 10.0.11/ Plugins GlpiInventory / AgentGlpi : 1.5 < Serveur Debian 64 Bits>
Offline
Avez-vous signalé ce problème sur le github de glpi ?
Offline
Meme souci en 9.5.5
@yllen https://forum.glpi-project.org/viewtopic.php?id=157832
GLPI 10.0.10
GLPIinventory 1.3.4
Agents : FI (2.6, 2.5) et Glpiagents (1.7)
Offline
issue created at glpi githb #10004
(sorry, i can't post the link url)
Offline
For those looking for a solution, I've made a patch in this pull request:
https://github.com/glpi-project/glpi/pull/10320
It is currently being reviewed.
The PR is targeting the next version of GLPI (version 10) but I've noted that the delegatee check applies to 9.5 too so it may be backported.
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
Bonjour
Meme probleme constaté sur la version 9.5.7
Mise en commentaire du meme "pavé" pour un bon fonctionnement
Merci
GLPI 10.0.11/ Plugins GlpiInventory / AgentGlpi : 1.5 < Serveur Debian 64 Bits>
Offline
La solution appropriée est documentée ici:
https://github.com/glpi-project/glpi/pull/10722
C'est le même correctif du PR précédent. Il n'a pas été rétroporté vers 9.5.X auparavant et n'a été ajouté qu'à GLPI 10.
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
Pages: 1