1

Closed

HeadLinx error

description

when try to check relationship between self and someone in another department, an error occurs. See attached screen capture.
 
Investigated and found the use account's manager field is empty therefore maybe headlinx couldn't enumerate relationship? Perhaps better error handling instead of the program bug out?
 
thanks,

file attachments

Closed Jan 17, 2009 at 8:16 AM by ds7
This was fixed by showing a dialog, instead of simply aborting the application. The fix will be included in the next release.

comments

ds7 wrote Jan 17, 2009 at 1:58 AM

This error probably means you and the other person are not related based on the manager links Active Directory. The "Expecting only one root in user tree" means that you and the other person leads up to different root level managers... obviously the code was assuming that in an org there is one top level person.

There are a couple ways to fix this:
Option 1: Simply throw a friendly error dialog saying that one or more people in the list of names are not related to each other.
Option 2: Draw multiple trees, with different top level managers.

Option 1 is much simpler to implement so probably thats what I'll do for now, unless someone can give a good reason why they need option 2, or if they have a better idea.

wrote Jan 17, 2009 at 8:16 AM

wrote Feb 2, 2013 at 3:35 AM

wrote May 14, 2013 at 6:36 AM