Project

General

Profile

Actions

Feature #2452

open

Unexpected transformation of a single-valued EAV when the schema attribute is multivalued (LDAP attributes filled from EAVs contain square brackets)

Added by Alena Peterová over 3 years ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
Vít Švanda
Category:
Provisioning
Target version:
-
Start date:
08/24/2020
Due date:
% Done:

0%

Estimated time:
Owner:

Description

Tested on versions 9.7.16, 10.4.1

Steps to reproduce:
  • Create a multivalued schema attribute
  • Map it to a single-valued EAV and set a transformation script return "bxxxxn" + attributeValue;
  • The attribute for provisioning contains square brackets []

I would expect, that the input of the transformation script "attributeValue" would be the exact value of EAV - a single-valued String in this case. But the input is a List.

This looks like a stupid use-case, but unfortunately, it can happen, because LDAP connector generates most of the attributes as Multivalued (this is probably some default setting in the LDAP scheme :-( ).


Files

provisioning.png (10.9 KB) provisioning.png Alena Peterová, 08/24/2020 04:55 PM
attribute_transformation.png (47.6 KB) attribute_transformation.png Alena Peterová, 08/24/2020 04:55 PM
schema_attribute_multivalued.png (9.2 KB) schema_attribute_multivalued.png Alena Peterová, 08/24/2020 04:55 PM
Actions

Also available in: Atom PDF