Problems with ModelBulkImport and included models

Peace,

We are currently using the ModelBulkImporter to allow our users to import models into our application. However, we are facing some issues related to included document models.

Problem Description:

  1. Inconsistent Updates: When an user uploads an existing Document Model, any existing (Composed) Document Model that include the uploaded DM do not get updated afterwards. The issue occurs when using the ModelBulkImporter directly.

  2. DS Startup Behavior: The problem does not arise during the startup of the application. During startup, the DS deletes all models before importing, ensuring that the process is always a creation rather than an update of models

  3. Bulk Import: The same problem occurs when users upload a bulk of models. Depending on the order of imports in the ModelBulkImporter, the included models can end up with either the old or updated version, leading to inconsistency and confusion. The order seems to be random.

Questions:

→ is there a function available to re-trigger all merges of included models ?
→ Are there any plans to enhance the ModelBulkImporter to support updating included models effectively ?

Thank you for your assistance !

Hi @tjorben-atomic-moss,

DS lacks a lot of documentation about the ModelIModelImport so I understand that it is hard to get an overview how is this functionality works and why it works in this way. Can you please create a ticket where you describe your case in more detail? I am interested in DS configuration, state of the DB before import, the content of the ZIP and your expectations of behavior?

We need to make sure that we have data to reproduce the issue in case of the bug or help with the configuration to help you resolve this issues without DS release.

Thanks!

Done,

ticket number is A12-17056