Export and Import
The following are known issues with the Code Insight project export and import functionality.
SCA-52508: Customers not able to open certain manually created inventory items that have been imported
When project data is exported, the data includes whether the inventory item was created by the system or manually by a user. When the exported data is then imported and it contains inventory that was flagged as manually created, consider the following import scenarios:
• | Scenario 1—The data is imported to the same machine from which it was exported, but a given user who created one or more inventory items in the data has since been deleted from the Code Insight database. |
• | Scenario 2—The data is imported to a different machine, and the given user who created one or more inventory items does not exist on this machine. |
In either scenario, the import process successfully completes, but customers are not able to open the inventory items created by the deleted or non-existing user.
Recommendation for Scenario 1: Do not delete the user (who created the inventory item) from database. Instead, disable the inactive user.
Workaround: Contact Technical Support for assistance.
SCA-3222: Import overrides inventory details
Importing the same inventory into a project that already contains inventory can cause some details to be overwritten or blanked out. If duplicate inventory (by associated repository item ID) is encountered during the import process, inventory details are overwritten with data from the export data file.
Recommended: Perform an export of the project prior to importing into the project in case you need to return to the original project state.
SCA-21295: Import of Detection Notes over 16 MB generates an error
When Code Insight uses a MySQL database, an error can occur during a project import if the source project’s Detection Notes content exceeds 16 MB. The import process generates an error message and continues processing the inventory but does not import the notes.
Workaround: Ensure that only a single network interface controller is enabled on the core server running Code Insight. As an added measure, configure the core server using a numerical IP address instead of a “localhost”.
SCA-55178: Relationship attribute fails to report all direct parent inventory items while data export from 2024 R3 project and import to 2024 R4 project
Exporting data from a Code Insight 2024 R3 project and importing it into a code insight 2024 R4 or later project results in a failure of the Parent Inventory value of the Relationship attribute to indicate all direct parent inventory items associated with the inventory item.
During the import of project data exported from a 2024 R3 project, inventory items with multiple direct parent relationships fail to update (report) all direct parent relationships. After import, only few direct parent inventory items are indicated by the Parent Inventory value of the Relationship attribute for these inventory items.
workaround: None exists