Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-864

external subjects in UI shows "null" for institution

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.1.3
    • 2.1.2
    • API, UI
    • None

    Description

      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] AItOawn8Oz9QRuePe93O37SkVFluEhOsXSnapuo@google.com is a direct member

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

      Peter

      Attachments

        Activity

          People

            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: