Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-2204

Polystring and strings in scripts

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Won't Fix
    • Affects Version/s: 3.1 (Sinan)
    • Fix Version/s: 3.1.1
    • Component/s: None
    • Labels:
      None

      Description

      In order to check value of nickName (PolyString) for value I need to use:

              <condition>
                  <script>
                      <code>basic.stringify(nickName) == 'generate'</code>
                  </script>
              </condition>
      

      Similarly, I need to use basic.norm(basic.stringify(givenName)) if givenName is passed as <path>$user/givenName</path>.

      Tested with user object template. But the problem is also in schema handling AFAIK.

        Attachments

          Activity

            People

            Assignee:
            semancik Radovan Semancik
            Reporter:
            vix Ivan Noris
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: