Jump to content

Error when viewing Co-Worker - <userId> did not meet the required input pattern


clampj
 Share

Recommended Posts

Hi

One of our service desk analysts has pointed out they are getting an error when viewing a particular user via the CO-Worker section of Service manager.  They can search for the user fine but when clicking to access the record we are greeted with the below error:

The value in element <userId> did not meet the required input pattern constraints. at location '/methodCall/params/userId'

Any ideas?

Could this be affecting more users that we arent aware of yet?

Thanks

J

Link to comment
Share on other sites

4 minutes ago, clampj said:

Could this be affecting more users that we arent aware of yet?

Not sure.. need to have a look in the logs to see exactly where it failed... maybe find out why then I can tell who is affecting and not....

Link to comment
Share on other sites

For the benefit of the broader community and to conclude this thread, this error can be caused when the userID referencing the manager of the Co-worker contains non-alphanumeric characters i.e. this error is not necessarily representative of an issue with the userID of this Co-worker, but the userID stored in the column h_manager in the user profile (table: h_sys_user_profiles).

When a Co-Worker Profile is loaded, it tries to retrieve the manager handle (full name) so it can display it in the profile you're viewing. It does this based on the ID stored in the column h_manager which exists in the table h_sys_user_profiles (the table which stores all the user profile properties such as personal interests and qualifications).

If you're receiving this error, its likely due to some incorrect configuration in the LDAP user import (https://wiki.hornbill.com/index.php/LDAP_User_Import) relating to the manager lookup, specifically that a "Manager Regex" has not been specified.

The standard manager reqex which satisfies the majority of situations is CN=(.*?)(?:,[A-Z]+=|$) , ensure this is set in the Manager lookup section of the appropriate user import configuration.image.png 

Link to comment
Share on other sites

  • Guest locked this topic
Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...