Skip to content

Forms are not attaching files to ticket #3211

@wiictorhub

Description

@wiictorhub

Hi!

After migrating GLPI from version 9.5.4 to 10.0.6, the forms stopped attaching files the moment they generate the ticket, emphasizing that the file is uploaded normally.

In addition, in the Items tab of the ticket that was opened by the form, the error that is in the image and also described below is occurring.

PS: in the Items tab of other tickets with common assets (computers, printers, etc) the error reported in PHP is not occurring, only when it is generated by the form and the attached item is "Form Response"

PHP ERRORS:

PHP Warning (2): Undefined array key "states_id" in /var/www/html/glpi/src/Item_Ticket.php at line 509

PHP Warning (2): Undefined array key "locations_id" in /var/www/html/glpi/src/Item_Ticket.php at line 511

My system settings:

Ubuntu Server 20.04
GLPI v10.0.6
PHP 8.1
Formcreator 2.13.4
Erro PHP

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions