pluginsGLPI / formcreator

GLPI Plugin Formcreator (DOWNLOAD : https://github.com/pluginsGLPI/formcreator/releases)
http://www.teclib-edition.com
GNU General Public License v3.0
174 stars 125 forks source link

BUG : User name anonimization on target ticket #3408

Closed infime-it closed 1 year ago

infime-it commented 1 year ago

Describe the bug Hi,

After upgrade our server from GLPI 9.5.6 and Formcreator 2.12.3 to GLPI 10.0.10 and Formcreator 2.13.7, we found a bug with anonymization. When a self-service user create a ticket for another user on forms with question type "GLPI object -> Administration - Users", target ticket display user's name anonimized.

To Reproduce Steps to reproduce the behavior:

  1. Create a form with question (named User) : type GLPI Object -> Administration - user
  2. Create a target type ticket with ##FULLFORM## tag (or juste answer of the question, same issue)
  3. Configure entity to anonymize support agents (Entities -> EntityName -> Assistance -> Anonymize support agents = Replace the agent and group name with generic name)
  4. Configure self-service profile to use simplified interface
  5. With User A, as selft-service profile, select User B on dropdown's User and send the form
  6. Look at the ticket

There is no issue if :

Expected behavior The expected behavior is to see User B's name on ticket.

Screenshots image

GLPI / Plugins :

Stack :

btry commented 1 year ago

Hi

this fix will solve the issue: 66bea30e0

infime-it commented 1 year ago

Hi

I confirm this fix solved this issue for me.

Thanks !