Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] description generated for external users

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] description generated for external users

Chronological Thread 
  • From: Chris Hyzer <>
  • To: Peter DiCamillo <>, "" <>
  • Subject: RE: [grouper-users] description generated for external users
  • Date: Tue, 6 Nov 2012 19:09:45 +0000
  • Accept-language: en-US

I think this is a JEXL thing (well, maybe our wrapper around it), Im thinking
appendIfNotBlankString should consider the string "null" as blank... I
committed revision 8502 to v2.1 branch... try it out


-----Original Message-----

On Behalf Of Peter DiCamillo
Sent: Tuesday, November 06, 2012 12:29 PM

Subject: [grouper-users] description generated for external users

I'm having a problem with the descriptions generated for external users.
In, there is this expression for generating the

> externalSubjects.desc.el = [unverifiedInfo]
> ${grouperUtil.appendIfNotBlankString(, ' - ',
> externalSubject.institution)} [externalUserID] ${externalSubject.identifier}

That expression seems to work fine when the institution was specified on
the registration screen. However, if the institution is left empty on
the form, the term
${grouperUtil.appendIfNotBlankString(, ' - ',
externalSubject.institution)} doesn't work as intended. Instead of
evaluating to just the subject name, it comes out in the description as
"null". For example, a description like this:

> [unverifiedInfo] null [externalUserID]
> is a direct member

I tried a few possibilities for fixing this, but always got "null".


Archive powered by MHonArc 2.6.16.

Top of Page