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 2020-02-20 22:19:39

mecmav
Member
From: Brasil
Registered: 2019-03-22
Posts: 226

BUG in plugin Behavior 2.2.1 and 2.2.2

Hi

I think we found a bug on that plugin.

Step by step to have the error: GLPI 9.4.2 OR 9.4.5 still the same error and with plugin behavior 2.2.1 or 2.2.2

In configuration of plugin we need set:

--> "Requester is mandatory" to "yes";

When try create an ticket using apirest.php/Ticket/  (POST), passing exactly these values:

{
     "input": {
                 "users_id":1775,
        "type":1,
        "itilcategories_id":45,
        "requesttypes_id":6,
        "urgency":4,
        "impact":4,
        "priority":3
     }
}

we get the following error "[
    "ERROR_GLPI_ADD",
    "Requerente é mandatório"
]"

even passing the id of requester to the field "users_id", I'm getting this error.

Only add the ticket when the "Requester is mandatory" is "no".

Am I doing something wrong or this is really a bug?

Offline

Board footer

Powered by FluxBB