tag icon indicating copy to clipboard operation
tag copied to clipboard

Error

Open Flopil opened this issue 6 months ago • 1 comments

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • [x] I have searched the existing issues

GLPI Version

11.0.6

Plugin version

2.14.3

Bug description

Hi, When we execute transfer domain of items linked with tickets (which has tag) we meet this issue and the transfert is not executed : `[2026-05-19 16:25:29] glpi.ERROR: *** Caught Safe\Exceptions\DatetimeException: An error occurred Backtrace : ...fe/generated/Exceptions/DatetimeException.php:9 ...ingmachine/safe/generated/8.3/datetime.php:1215 Safe\Exceptions\DatetimeException::createFromPhpError() ./marketplace/tag/inc/tagitem.class.php:477 Safe\strtotime() ./src/Plugin.php:1810 PluginTagTagItem::updateItem() ./src/CommonDBTM.php:1674 Plugin::doHook() ./src/CommonItilObject_Item.php:125 CommonDBTM->update() ./src/CommonDBTM.php:2181 CommonItilObject_Item->post_purgeItem() ./src/Transfer.php:2940 CommonDBTM->delete() ./src/Transfer.php:1168 Transfer->transferTickets() ./src/Transfer.php:251 Transfer->transferItem() ./front/transfer.action.php:51 Transfer->moveItems() ...Glpi/Controller/LegacyFileLoadController.php:64 require() ./vendor/symfony/http-kernel/HttpKernel.php:181 Glpi\Controller\LegacyFileLoadController->__invoke() ./vendor/symfony/http-kernel/HttpKernel.php:76 Symfony\Component\HttpKernel\HttpKernel->handleRaw() ./vendor/symfony/http-kernel/Kernel.php:208 Symfony\Component\HttpKernel\HttpKernel->handle() ./public/index.php:71 Symfony\Component\HttpKernel\Kernel->handle()

` If we disable tag plugin, the transfert is OK.

Thanks,

Relevant log output

[2026-05-19 16:25:29] glpi.ERROR:   *** Caught Safe\Exceptions\DatetimeException: An error occurred
  Backtrace :
  ...fe/generated/Exceptions/DatetimeException.php:9
  ...ingmachine/safe/generated/8.3/datetime.php:1215 Safe\Exceptions\DatetimeException::createFromPhpError()
  ./marketplace/tag/inc/tagitem.class.php:477        Safe\strtotime()
  ./src/Plugin.php:1810                              PluginTagTagItem::updateItem()
  ./src/CommonDBTM.php:1674                          Plugin::doHook()
  ./src/CommonItilObject_Item.php:125                CommonDBTM->update()
  ./src/CommonDBTM.php:2181                          CommonItilObject_Item->post_purgeItem()
  ./src/Transfer.php:2940                            CommonDBTM->delete()
  ./src/Transfer.php:1168                            Transfer->transferTickets()
  ./src/Transfer.php:251                             Transfer->transferItem()
  ./front/transfer.action.php:51                     Transfer->moveItems()
  ...Glpi/Controller/LegacyFileLoadController.php:64 require()
  ./vendor/symfony/http-kernel/HttpKernel.php:181    Glpi\Controller\LegacyFileLoadController->__invoke()
  ./vendor/symfony/http-kernel/HttpKernel.php:76     Symfony\Component\HttpKernel\HttpKernel->handleRaw()
  ./vendor/symfony/http-kernel/Kernel.php:208        Symfony\Component\HttpKernel\HttpKernel->handle()
  ./public/index.php:71                              Symfony\Component\HttpKernel\Kernel->handle()

Page URL

No response

Steps To reproduce

No response

Your GLPI setup information

No response

Anything else?

No response

Flopil avatar May 19 '26 14:05 Flopil

There has been no activity on this issue for some time and therefore it is considered stale and will be closed automatically in 10 days.

If this issue is related to a bug, please try to reproduce on latest release. If the problem persist, feel free to add a comment to revive this issue. If it is related to a new feature, please open a topic to discuss with community about this enhancement on suggestion website.

You may also consider taking a subscription to get professionnal support or contact GLPI editor team directly.

github-actions[bot] avatar Jun 04 '26 10:06 github-actions[bot]