From: Sander A. <sa....@fz...> - 2024-07-09 06:55:34
|
Good morning Krzysztof, we are testing the removeStaleData action in input translation profile. It seems that this only removes the attribute value but not the attribute itself. After setting the attribute to an empty string in the external OP, I got an error about Attribute must have at least 1 values. The condition for the mapAttribute rule is attrs['attr_name'] != null && attr['attr_name'] != '', which woirks fine without the removeStaleData rule. Is the behaviour intended that uniy deletes only the attriobute value but not the attribute, if it is empty? Best regards, Sander -- Large-Scale Data Science Juelich Supercomputing Centre phone: +49 2461 61 8847 fax: +49 2461 61 6656 email: sa....@fz... ----------------------------------------------------------------------- ----------------------------------------------------------------------- Forschungszentrum Jülich GmbH 52425 Jülich Sitz der Gesellschaft: Jülich Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Stefan Müller Geschäftsführung: Prof. Dr. Astrid Lambrecht (Vorsitzende), Karsten Beneke (stellv. Vorsitzender), Prof. Dr. Ir. Pieter Jansens ----------------------------------------------------------------------- ----------------------------------------------------------------------- |