-
Suggestion
-
Resolution: Fixed
-
None
At the moment the Assets import logs print an exception where a unique constraint on an attribute set as unique is violated but they do not print which item value is violating it.
Ex.
- an attribute serial number is set as unique
- the import source try to import a serial number which already exists in another object in the object type
- following exception is thrown out:
Error messages: context: rlabs-insight-attribute-5762; messages: [ErrorMessage {i18nKey='rlabs.insight.i18n.constraint.violation.unique', parameters=[Name of the attrribute], additionalMessage=null}
As above example the error report the cause and the attribute name but not the actual value which cannot be duplicated.
Adding the offending value as well would make a research quite more easier.
Form Name |
---|
We're not explicitly logging the attribute value due to conflicts with permissions/hidden attributes, however we will now be logging the object ID and attribute data so the value can be deduced from this information.