On Mon, 24 Feb 2014, John Horne wrote:
> The tomcat log shows entries such as:
> INFO: JH: EA1 is set
> JH: EA1 is not null
> JH: EA1 is not the null string
> JH: set to staff: extensionAttribute1 value is: 
> So EA1 is defined, is not 'null' and is not the null string, so the user
> gets set as a member of staff. But the value of EA1 (for non-staff) is
> shown to be nothing. The test should have failed. For actual staff
> members, EA1 has a value and it is printed in the log file correctly
> (e.g. '').
I _think_ (but it's getting late and I'm running out of brain) that the
result of getValues() is a list, not a scalar (hint: 's'). I'm assuming
that an empty list isn't null, isn't the null string, and doesn't have a
length greater than 8.
Information Systems Development, Computing Service, University of Cambridge