Uploaded image for project: 'Identity Provider'
  1. Identity Provider
  2. IDP-1389

Uncaught runtime exception when Mapped attribute generates null value

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.0, 3.4.1, 3.4.2, 3.4.3
    • Fix Version/s: 4.0.0, 3.4.5
    • Component/s: Attribute Resolver
    • Labels:
    • Operating System:
      Linux
    • Java Version:
      Oracle Java 8
    • Servlet Container:
      Jetty 9.3

      Description

      If a xsi:type="Mapped" attribute generates a null value then the result is an uncaught runtime exception. Perhaps the IDP could skip or ignore the null value and log a warning.

      Easy to reproduce:

      <ValueMap>

        <ReturnValue>$1</ReturnValue>

        <SourceValue>.(.)</SourceValue>

      </ValueMap>

        Attachments

          Activity

            People

            Assignee:
            rdw@iay.org.uk Rod Widdowson
            Reporter:
            scl@virginia.edu scl@virginia.edu
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: