From: Sander A. <sa....@fz...> - 2018-07-03 12:58:06
|
Hi Krzysztof, We want to copy some attributes from root group to subgroups by unsing attribute statements. One of the attributes is an enumeration with "low", "medium" and "high" as values. This action causes a problem because "low" can not be deserialized to enumeration. The attribute statement is: Use attributes from extra group: check Extra group with attributes: / Condition: eattr contains 'loa' Create dynamic attribute: check Dynamic attribute name: loa Dynamic attribute values expression: eattr['loa'] Conflict resolution: skip The error is the same if I use eattrs instead of eattr. The log error is: 2018-07-03T14:45:19,420 [qtp605660635-32383] DEBUG unity.server.AttributeStatementProcessor: [[AttrStmnt 1 in /eudat:b2access:admin for entity 1059]]Can't convert attribute values returned by the statement's expression to the type of attribute loa, skipping it pl.edu.icm.unity.exceptions.IllegalAttributeValueException: High can not be deserialized to enumeration Best regards, Sander -- Federated Systems and Data Juelich Supercomputing Centre phone: +49 2461 61 8847 fax: +49 2461 61 6656 email: sa....@fz... ----------------------------------------------------------------------- ----------------------------------------------------------------------- Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ----------------------------------------------------------------------- ----------------------------------------------------------------------- |