Assets import failing if an object-type attribute is an Identifier and the value is empty in source file

XMLWordPrintable

    • 3
    • Severity 3 - Minor

      Issue Summary

      Asset Import throws error, when an Object-Referenced-Attribute is marked as an Idenfitier, and the CSV file does not have any value for that attribute.

      Steps to Reproduce

      1. Create an import configuration with a few attributes of 'Object' type.
      2. Make one of the object-referenced-attribute as one of the 'Identifier'.
      3. Create a CSV file where this object-referenced-attribute value is empty.
      4. Import the CSV file.

      Expected Results

      Throw error with the relevant details - such as 'attribute value cannot be empty (since its marked as 'Identifier')'.

      Actual Results

      • A duplicate object is created (since the Identifier condition failed).
      • Import throws an error similar to the below screenshot.

      Workaround

      • Do not mark an object-referenced-attribute as an 'Identifier'. 
      • Make sure to have a value for the object-referenced attribute if it's marked as an 'Identifier'

            Assignee:
            Akshat Jain
            Reporter:
            Makesh Sundar
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: