Warning: Undefined array key "tickets_id" at ticket.class.php line 949

オープン
#514 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
58/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
php
領域
backend

調査の方向性

Start with marketplace/escalade/inc/ticket.class.php at line 949, then trace linkedTickets() and its call from item_update() in the provided backtrace. Reproduce the ticket update that logs the warning and inspect the data passed to linkedTickets(). Done means the warning no longer appears for that update while linked ticket handling still works.

索引モデルが issue の本文から書いたものです。

説明

Stale
Code of Conduct
  • I agree to follow this project's Code of Conduct
Is there an existing issue for this?
  • I have searched the existing issues
GLPI Version

11.0.11

Plugin version

2.10.8

Bug description

This error message appears often in php-errors.log :

[2026-10-12 10:09:00] glpi.WARNING: *** Warning: Undefined array key "tickets_id" at ticket.class.php line 949
Backtrace :
.\marketplace\escalade\inc\ticket.class.php:949
.\marketplace\escalade\inc\ticket.class.php:241 PluginEscaladeTicket::linkedTickets()
.\marketplace\escalade\hook.php:470 PluginEscaladeTicket::item_update()
.\src\Plugin.php:1810 plugin_escalade_item_update()
.\src\CommonDBTM.php:1789 Plugin::doHook()
.\front\ticket.form.php:90 CommonDBTM->update()
...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()
.\src\Glpi\Kernel\Kernel.php:201 Symfony\Component\HttpKernel\Kernel->handle()
.\public\index.php:78 Glpi\Kernel\Kernel->handle()

Relevant log output

Page URL

No response

Steps To reproduce

No response

Your GLPI setup information

No response

Anything else?

No response

主要言語
PHP
スター
29
フォーク
39
平均マージ
1日 20時間
マージ済み PR(30日)
14

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pluginsGLPI/escalade のほかの issue

pluginsGLPI/escalade の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。