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 2014-11-28 08:45:59

shyam.soundar
Member
Registered: 2014-05-26
Posts: 11

[GLPI 0.85] Change management approval user's dropdown is empty

Hi,

In the change request, i am trying to send an approval request to my manager. But when we click on the user  the drop down is empty

Debug:

Ajax Request URL:

"/ajax/getDropdownUsers.php?all=0&right=validation&searchText=&page_limit=100&page=1"

in the inc/user.class.php

getSqlSearchResult function does not have any "switch case called validation".


when i change the parameter "right=validation" in above url to "right=validate" it works fine.

And also there is no notification email is send to the approver.

Please check..

Thanks

Last edited by shyam.soundar (2014-11-28 09:00:00)

Offline

#2 2014-11-28 12:18:12

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,273

Re: [GLPI 0.85] Change management approval user's dropdown is empty

To be in the list, your manager must have right to validate a change.
The name of the right is 'validation' not validate.
I have no problem to send a validation request for a change.


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#3 2014-11-28 12:32:46

shyam.soundar
Member
Registered: 2014-05-26
Posts: 11

Re: [GLPI 0.85] Change management approval user's dropdown is empty

Profile has all the permission. Validate a change is enabled for his profile

BTW, I dont see "validation"  in the switch case. Please refer Line 2936 of inc/user.class.php

Last edited by shyam.soundar (2014-11-28 12:34:49)

Offline

#4 2014-11-28 14:33:28

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,273

Re: [GLPI 0.85] Change management approval user's dropdown is empty

OK i see the problem.
Purpose of correction: https://forge.indepnet.net/projects/glp … ions/23257


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

Board footer

Powered by FluxBB