From: Sander A. <sa....@fz...> - 2018-07-04 07:33:46
|
2.4.2. Sorry I forgot to enter it. Cheers, Sander Am Mittwoch, den 04.07.2018, 09:07 +0200 schrieb Krzysztof Benedyczak: > Sander, > > W dniu 03.07.2018 o 14:57, Sander Apweiler pisze: > > 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 > > > > Which version? > > Best > KB -- 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 ----------------------------------------------------------------------- ----------------------------------------------------------------------- |