Closed lucafwp closed 3 years ago
Hi,
Please provide the full trace of this error. It can be found in GLPI logs.
Regards
Hi @cedric-anne , I can't see any message related to this error in GLPI logs. I think this information extracted from GLPI Dev tools might be helpful. They are related to the request made when clicking Action button.
Accept-Language: de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7
Connection: keep-alive
Content-Length: 1614
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Cookie: glpi_dfa5b16f2330075f98b9929df5b4b397=3mhlu1oe6aes0emea2e2g1gcqh
Host: xxxxxxxx
Origin: https://xxxxxxxxxx
Referer: https://xxxxxxxxxx/glpi/front/ldap.import.php?&start=0
sec-ch-ua: "Chromium";v="88", "Google Chrome";v="88", ";Not A Brand";v="99"
sec-ch-ua-mobile: ?0
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.190 Safari/537.36
X-Requested-With: XMLHttpRequest
container: massAuthLDAP477001649
specific_actions[AuthLDAP:import]: Importieren
item[AuthLDAP][usertesting.b]: 1
item[AuthLDAP][usertesting.a]: 1
item[AuthLDAP][testpol]: 1
item[AuthLDAP][svc_gingco]: 1
item[AuthLDAP][scanner_rm]: 1
item[AuthLDAP][root$]: 1
item[AuthLDAP][pruefstaende]: 1
item[AuthLDAP][personal-as4]: 1
item[AuthLDAP][nsu2t]: 1
item[AuthLDAP][leitsta14]: 1
item[AuthLDAP][leitsta13]: 1
item[AuthLDAP][leitsta12]: 1
item[AuthLDAP][externfs]: 1
item[AuthLDAP][buchhaltung.holding]: 1
item[AuthLDAP][buchhaltung-in]: 1
item[AuthLDAP][akyolm]: 1
item[AuthLDAP][adminin21]: 1
item[AuthLDAP][VW381-0-CN-TV]: 1
item[AuthLDAP][VW381-0-CN-MIKO]: 1
item[AuthLDAP][VW381-0-CN-I-Tafel]: 1
item[AuthLDAP][VW336-Miko]: 1
item[AuthLDAP][VW310-PA-TV]: 1
item[AuthLDAP][Testgewerk_IDBuzz]: 1
item[AuthLDAP][SVC_TESTEXPLORER]: 1
item[AuthLDAP][SVC_PAK]: 1
item[AuthLDAP][SVC_MXSREPORT]: 1
item[AuthLDAP][Hyundai_i20_GG-AS_13]: 1
item[AuthLDAP][Flying-Docs]: 1
item[AuthLDAP][Experience]: 1
item[AuthLDAP][EKXP-Gewerk]: 1
item[AuthLDAP][EESB]: 1
item[AuthLDAP][E3MuService]: 1
item[AuthLDAP][E3MUADMIN]: 1
item[AuthLDAP][BueroDigiTeam]: 1
item[AuthLDAP][Booking]: 1
item[AuthLDAP][ASAP_Klimakammer_SS4]: 1
item[AuthLDAP][ASAP$]: 1
item[AuthLDAP][1305_VN7600_FlexRay]: 1
item[AuthLDAP][1305_VN1640A_CANcase]: 1
item[AuthLDAP][: 1
Hi,
Can you check #8809 ? Not sure you problem is related to this, but if you have a user that has a square bracket or a quote in its name, it can explain your bug.
Regards
Describe the bug
When selecting more than 30 users to be imported from LDAP sync and clicking on "Action" button, the following error is showed:
Invalid argument supplied for foreach()
Page(s) URL
Starting url: front/ldap.import.php Request goes to: glpi/ajax/massiveaction.php
To reproduce
Steps to reproduce the behavior:
Expected behavior
The select which let you choose to import users should be shown.
Screenshots
Your GLPI setup (you can find it in Setup > General menu, System tab)
Additional context
One of the users listes has a single quote in name. Might be related to this? https://github.com/glpi-project/glpi/issues/6014