You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2024-06-01 16:28:38

glpi_user0065
Member
Registered: 2024-06-01
Posts: 4

Ticket assignment rule breaks email collection

Hello,

Looking to create a simple ticket rule to automatically assign all new tickets to a technician group.
When I create a ticket rule:

If technician does not exist -> assign technician group to a ticket

But whenever I activate this rule, the email collector stops working and php logs throw this error:

glpiphplog.CRITICAL:   *** Uncaught Exception Error: Call to a member function getNameID() on bool in /var/www/html/glpi/src/Profile_User.php at line 1267
  Backtrace :
  src/Profile_User.php:1239                          Profile_User->logOperation()
  src/CommonDBTM.php:807                             Profile_User->post_deleteFromDB()
  src/CommonDBTM.php:2100                            CommonDBTM->deleteFromDB()
  marketplace/glpisaml/src/LoginFlow/User.php:205    CommonDBTM->delete()
  marketplace/glpisaml/hook.php:59                   GlpiPlugin\Glpisaml\LoginFlow\User->updateUserRights()
  src/Plugin.php:1696                                updateUser()
  src/Rule.php:1539                                  Plugin::doHook()
  src/RuleCollection.php:1660                        Rule->process()
  src/Ticket.php:1964                                RuleCollection->processAllRules()
  src/CommonDBTM.php:1297                            Ticket->prepareInputForAdd()
  src/MailCollector.php:897                          CommonDBTM->add()
  src/MailCollector.php:1923                         MailCollector->collect()
  src/CronTask.php:1027                              MailCollector::cronMailgate()
  front/cron.php:87                                  CronTask::launch()

Any ideas where's the problem?

Offline

#2 2024-06-06 10:31:22

glpi_user0065
Member
Registered: 2024-06-01
Posts: 4

Re: Ticket assignment rule breaks email collection

The problem was with the GLPISAML plugin. Updated from 1.1.3 to 1.1.6 and the problem went away.

Offline

Board footer

Powered by FluxBB