We are deploying an application from DEV to QA and are receiving the following e

We are deploying an application from DEV to QA and are receiving the following errors:

Any clue what is the problem and how to resolve it:

Problems (13):
datatype {urn:kali:trx:assessments}KALI_Assessment_Detail 2326 "{urn:kali:trx:assessments}KALI_Assessment_Detail": An error occurred while updating datatype [id=2326 uuid={urn:kali:trx:assessments}KALI_Assessment_Detail]: The import package contains a definition for the type {urn:kali:trx:assessments}KALI_Assessment_Detail, which already exists with a different structure. The requested type will not be created and the existing type will not be altered. You must first delete the existing type if you intend to redefine it with a different structure. (APNX-1-4047-010) (APNX-1-4071-008)
content b000cd29-683d-4b41-bb63-f7b825dedbc4 178545 "kaliFetchAssessmentDetails": The content [id=178545 uuid=b000cd29-683d-4b41-bb63-f7b825dedbc4] was not imported because a required reference is missing...

OriginalPostID-186447

OriginalPostID-186447

  Discussion posts and replies are publicly visible

  • ...: Reference to entity [bced30d4-fb9f-4020-8ca8-cfde5efb0bf9] in data store [id=179618 uuid=_a-0000dbdc-df08-8000-5454-680000680000_219166] cannot be found. (APNX-1-4070-004) (APNX-1-4071-006)
    processModel 0002dbf3-8fbe-8000-5451-680000680000 16964 "Delete Assessment": The processModel [id=16964 uuid=0002dbf3-8fbe-8000-5451-680000680000] was not imported because a required reference is missing: Reference to entity [bced30d4-fb9f-4020-8ca8-cfde5efb0bf9] in data store [id=179618 uuid=_a-0000dbdc-df08-8000-5454-680000680000_219166] cannot be found. (APNX-1-4070-004) (APNX-1-4071-006)
    processModel 0002dbf3-90d6-8000-5451-680000680000 16960 "Edit Assessment": The processModel [id=16960 uuid=0002dbf3-90d6-8000-5451-680000680000] was not imported because a required reference is missing: Reference to entity [bced30d4-fb9f-4020-8ca8-cfde5efb0bf9] in data store [id=179618 uuid=_a-0000dbdc-df08-8000-5454-680000680000_219166] cannot be found. (APNX-1-4070-004) (APNX-1-4071-006)
    ...
  • ...processModel 0002dbf3-91b5-8000-5451-680000680000 16961 "Update Lead": The processModel [id=16961 uuid=0002dbf3-91b5-8000-5451-680000680000] was not imported because a required reference is missing: Reference to entity [bced30d4-fb9f-4020-8ca8-cfde5efb0bf9] in data store [id=179618 uuid=_a-0000dbdc-df08-8000-5454-680000680000_219166] cannot be found. (APNX-1-4070-004) (APNX-1-4071-006)
    processModel 0014dbf6-df00-8000-5451-680000680000 16951 "KALI Assessment Request": The processModel [id=16951 uuid=0014dbf6-df00-8000-5451-680000680000] was not imported because a required reference is missing: Reference to entity [bced30d4-fb9f-4020-8ca8-cfde5efb0bf9] in data store [id=179618 uuid=_a-0000dbdc-df08-8000-5454-680000680000_219166] cannot be found. (APNX-1-4070-004) (APNX-1-4071-006)
    processModel 0002dbf3-87ec-8000-5451-680000680000 16952 "KALI Execute Assessment": The processModel [id=16952 uuid=0002dbf3-87ec-8000-5451-680000680000] was not imported because a required r...
  • ... eference is missing: Reference to entity [bced30d4-fb9f-4020-8ca8-cfde5efb0bf9] in data store [id=179618 uuid=_a-0000dbdc-df08-8000-5454-680000680000_219166] cannot be found. (APNX-1-4070-004) (APNX-1-4071-006)
    processModel 0002dbf3-8b7f-8000-5451-680000680000 16953 "KALI Upload Assessment Report": The processModel [id=16953 uuid=0002dbf3-8b7f-8000-5451-680000680000] was not imported because a required reference is missing: Reference to entity [bced30d4-fb9f-4020-8ca8-cfde5efb0bf9] in data store [id=179618 uuid=_a-0000dbdc-df08-8000-5454-680000680000_219166] cannot be found. (APNX-1-4070-004) (APNX-1-4071-006)
    processModel 0002dbf3-8c1a-8000-5451-680000680000 16954 "KALI Approve Assessment Report": The processModel [id=16954 uuid=0002dbf3-8c1a-8000-5451-680000680000] was not imported because a required reference is missing: Reference to entity [bced30d4-fb9f-4020-8ca8-cfde5efb0bf9] in data store [id=179618 uuid=_a-0000dbdc-df08-8000-5454-680000680000_219166] cannot...
  • ... be found. (APNX-1-4070-004) (APNX-1-4071-006)
    processModel 0002dbf0-c498-8000-5451-680000680000 16955 "KALI Assessment Request Parent": The processModel [id=16955 uuid=0002dbf0-c498-8000-5451-680000680000] was not imported because a required reference is missing: Reference to entity [bced30d4-fb9f-4020-8ca8-cfde5efb0bf9] in data store [id=179618 uuid=_a-0000dbdc-df08-8000-5454-680000680000_219166] cannot be found. (APNX-1-4070-004) (APNX-1-4071-006)
    content 82397c74-91ea-4da9-8e55-3482c4e28e12 178837 "kaliGetAssessDocument": The content [id=178837 uuid=82397c74-91ea-4da9-8e55-3482c4e28e12] was not imported because a required reference is missing: Reference to entity [bced30d4-fb9f-4020-8ca8-cfde5efb0bf9] in data store [id=179618 uuid=_a-0000dbdc-df08-8000-5454-680000680000_219166] cannot be found. (APNX-1-4070-004) (APNX-1-4071-006)
    recordType 523115ce-c7eb-48f6-b86c-a339bfc50563 121 "KALI Assessment": The recordType [id=121 uuid=523115ce-c7eb-48f6-b86c-a339bfc50...
  • ... 563] was not imported because a required reference is missing: Reference to entity [bced30d4-fb9f-4020-8ca8-cfde5efb0bf9] in data store [id=179618 uuid=_a-0000dbdc-df08-8000-5454-680000680000_219166] cannot be found. (APNX-1-4070-004) (APNX-1-4071-006)
    dataStore _a-0000dbdc-df08-8000-5454-680000680000_219166 179618 "KALI_DB": The import of dataStore [id=179618 uuid=_a-0000dbdc-df08-8000-5454-680000680000_219166] could not be finalized: The data store “KALI_DB” [id=179252] was saved but cannot be published: The data source schema does not match the type mappings: Missing column: EXECUTIVE_SUMMARY in QABPM2.KALI_ASSES_DTL (APNX-1-4178-000) (APNX-1-4071-009)
  • The log clearly says, CDT structure already exists.
    So first you need to delete the CDT KALI_Assessment_Detail in QA and then try to import the application again.
  • Followed your recommendations and now getting these errors:

    roblems (11):
    content b000cd29-683d-4b41-bb63-f7b825dedbc4 178545 "kaliFetchAssessmentDetails": The content [id=178545 uuid=b000cd29-683d-4b41-bb63-f7b825dedbc4] was not imported because a required reference is missing: Reference to entity [bced30d4-fb9f-4020-8ca8-cfde5efb0bf9] in data store [id=179618 uuid=_a-0000dbdc-df08-8000-5454-680000680000_219166] cannot be found. (APNX-1-4070-004) (APNX-1-4071-006)
    processModel 0002dbf3-8fbe-8000-5451-680000680000 16964 "Delete Assessment": The processModel [id=16964 uuid=0002dbf3-8fbe-8000-5451-680000680000] was not imported because a required reference is missing: Reference to entity [bced30d4-fb9f-4020-8ca8-cfde5efb0bf9] in data store [id=179618 uuid=_a-0000dbdc-df08-8000-5454-680000680000_219166] cannot be found. (APNX-1-4070-004) (APNX-1-4071-006)
    processModel 0002dbf3-90d6-8000-5451-680000680000 16960 "Edit Assessment": The processModel [id=16960 uuid=0002dbf3-90d6-8000-5451-680000680000] was not imported because a required reference is missing: Reference to entity [bced30d4-fb9f-4020-8ca8-cfde5efb0bf9] in data store [id=179618 uuid=_a-0000dbdc-df08-8000-5454-680000680000_219166] cannot be found. (APNX-1-4070-004) (APNX-1-4071-006)
    processModel 0002dbf3-91b5-8000-5451-680000680000 16961 "Update Lead": The processModel [id=16961 uuid=0002dbf3-91b5-8000-5451-680000680000] was not imported because a required reference is missing: Reference to entity [bced30d4-fb9f-4020-8ca8-cfde5efb0bf9] in data store [id=179618 uuid=_a-0000dbdc-df08-8000-5454-680000680000_219166] cannot be found. (APNX-1-4070-004) (APNX-1-4071-006)
    processModel 0014dbf6-df00-8000-5451-680000680000 16951 "KALI Assessment Request": The processModel [id=16951 uuid=0014dbf6-df00-8000-5451-680000680000] was not imported because a required reference is missing: Reference to entity [bced30d4-fb9f-4020-8ca8-cfde5efb0bf9] in data store [id=179618 uuid=_a-0000dbdc-df08-8000-5454-680000680000_219166] cannot be found. (APNX-1-4070-004) (APNX-1-4071-006)
    processModel 0002dbf3-87ec-8000-5451-680000680000 16952 "KALI Execute Assessment": The processModel [id=16952 uuid=0002dbf3-87ec-8000-5451-680000680000] was not imported because a required reference is missing: Reference to entity [bced30d4-fb9f-4020-8ca8-cfde5efb0bf9] in data store [id=179618 uuid=_a-0000dbdc-df08-8000-5454-680000680000_219166] cannot be found. (APNX-1-4070-004) (APNX-1-4071-006)
    processModel 0002dbf3-8b7f-8000-5451-680000680000 16953 "KALI Upload Assessment Report": The processModel [id=16953 uuid=0002dbf3-8b7f-8000-5451-680000680000] was not imported because a required reference is missing: Reference to entity [bced30d4-fb9f-4020-8ca8-cfde5efb0bf9] in data store [id=179618 uuid=_a-0000dbdc-df08-8000-5454-680000680000_219166] cannot be found. (APNX-1-4070-004) (APNX-1-4071-006)
    processModel 0002dbf3-8c1a-8000-5451-680000680000 16954 "KALI Approve Assessment Report": The processModel [id=16954 uuid=0002dbf3-8c1a-8000-5451-680000680000] was not imported because a required reference is missing: Reference to entity [bced30d4-fb9f-4020-8ca8-cfde5efb0bf9] in data store [id=179618 uuid=_a-0000dbdc-df08-8000-5454-680000680000_219166] cannot be found. (APNX-1-4070-004) (APNX-1-4071-006)
    processModel 0002dbf0-c498-8000-5451-680000680000 16955 "KALI Assessment Request Parent": The processModel [id=16955 uuid=0002dbf0-c498-8000-5451-680000680000] was not imported because a required reference is missing: Reference to entity [bced30d4-fb9f-4020-8ca8-cfde5efb0bf9] in data store [id=179618 uuid=_a-0000dbdc-df08-8000-5454-680000680000_219166] cannot be found. (APNX-1-4070-004) (APNX-1-4071-006)
    content 82397c74-91ea-4da9-8e55-3482c4e28e12 178837 "kaliGetAssessDocument": The content [id=178837 uuid=82397c74-91ea-4da9-8e55-3482c4e28e12] was not imported because a required reference is missing: Reference to entity [bced30d4-fb9f-4020-8ca8-cfde5efb0bf9] in data store [id=179618 uuid=_a-0000dbdc-df08-8000-5454-6800006800
  • First Create two different packages. One for Data & other for Application. You will need to import data package first. Also include the Data Store for CDT"KALI_Assessment_Detail"into data package.