Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-4289

[Atlas: Glossary Term Bulk Import] [regression]Bulk import broken for xls/xlsx input when it refers to the term created as a part of the same import

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • None
    • None
    • atlas-core
    • None

    Description

      xls_input.xls xlsx_input.xlsx

      While performing import with the provided input, there should be no failure and all data should have proper relationship. 

      This was working fine before.

      Currently, seeing a failure while importing xlsx:

      {
        "failedImportInfoList": [
          {
            "parentObjectName": "xlsx_input_glossary_2",
            "childObjectName": "term_2",
            "importStatus": "FAILED",
            "remarks": "The provided Reference 0%@termAttribute does not exist at Atlas referred at record with TermName  : term_2 and GlossaryName : xlsx_input_glossary_2"
          }
        ],
        "successImportInfoList": [
          {
            "parentObjectName": "xlsx_input_glossary_1",
            "childObjectName": "term_1",
            "importStatus": "SUCCESS",
            "remarks": "{\"termGuid\":\"19b8fec2-9061-4234-9504-e716da735275\",\"qualifiedName\":\"term_1@xlsx_input_glossary_1\"}"
          },
          {
            "parentObjectName": "xlsx_input_glossary_2",
            "childObjectName": "term_2",
            "importStatus": "SUCCESS",
            "remarks": "{\"termGuid\":\"7bf0dfb2-15d8-49ab-9e4f-d07f4ecb8dc6\",\"qualifiedName\":\"term_2@xlsx_input_glossary_2\"}"
          }
        ]
      } 

      Importing xls:

      {
        "failedImportInfoList": [
          {
            "parentObjectName": "xls_input_glossary_2",
            "childObjectName": "term_2",
            "importStatus": "FAILED",
            "remarks": "The provided Reference 0%@termAttribute does not exist at Atlas referred at record with TermName  : term_2 and GlossaryName : xls_input_glossary_2"
          }
        ],
        "successImportInfoList": [
          {
            "parentObjectName": "xls_input_glossary_1",
            "childObjectName": "term_1",
            "importStatus": "SUCCESS",
            "remarks": "{\"termGuid\":\"c6487c38-f45e-4897-9a86-ea84d3b706a6\",\"qualifiedName\":\"term_1@xls_input_glossary_1\"}"
          },
          {
            "parentObjectName": "xls_input_glossary_2",
            "childObjectName": "term_2",
            "importStatus": "SUCCESS",
            "remarks": "{\"termGuid\":\"44c6838b-cfe6-43ac-998f-c609bbec53ee\",\"qualifiedName\":\"term_2@xls_input_glossary_2\"}"
          }
        ]
      } 

      Also, please note the 0%0%@termAttribute in the remarks of the failed message

      Attachments

        1. xls_input.xls
          23 kB
          Dharshana M Krishnamoorthy
        2. xlsx_input.xlsx
          10 kB
          Dharshana M Krishnamoorthy

        Activity

          People

            dharshmk Dharshana M Krishnamoorthy
            dharshmk Dharshana M Krishnamoorthy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: