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

Object template sets value "null" instead of living the field empty

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Reviewed
    • Affects Version/s: None
    • Fix Version/s: 3.2 (Tycho)
    • Component/s: None
    • Labels:
      None

      Description

      1. Import Object template (samples/objects/object-template-default.xml)
      2.set System configuration to use this object template
      ( Click "Configuration/Repository objects" and then select System configuration and edit it. Insert reference on the default template <defaultUserTemplateRef oid="c0c010c0-d34d-b33f-f00d-777333333333"/> after <logging>...</logging>.)
      3. Click "Configuration/Repository objects" and then select Object template. Edit Default User Template 3 and use strong mappings for full name. <strength>strong</strength>
      4. Create new user, fill in only name field
      Expected result: user is created. Full name fiels is displayed as empty
      Actual Result: user is created . Full name field is displayed as "null null" as it was created from empty given name + family name

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            honchar Kate Honchar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: