grouper-users - RE: [grouper-users] description generated for external users
Subject: Grouper Users - Open Discussion List
List archive
- 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
Thanks,
Chris
-----Original Message-----
From:
[mailto:]
On Behalf Of Peter DiCamillo
Sent: Tuesday, November 06, 2012 12:29 PM
To:
Subject: [grouper-users] description generated for external users
I'm having a problem with the descriptions generated for external users.
In grouper.properties, there is this expression for generating the
description:
> externalSubjects.desc.el = [unverifiedInfo]
> ${grouperUtil.appendIfNotBlankString(externalSubject.name, ' - ',
> 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.name, ' - ',
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".
Peter
- [grouper-users] description generated for external users, Peter DiCamillo, 11/06/2012
- RE: [grouper-users] description generated for external users, Chris Hyzer, 11/06/2012
Archive powered by MHonArc 2.6.16.