Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import another model into selected model #1097

Open
lavenderb opened this issue Dec 1, 2024 · 3 comments
Open

Import another model into selected model #1097

lavenderb opened this issue Dec 1, 2024 · 3 comments

Comments

@lavenderb
Copy link

Archi Version

5.4.3

Operating System

Windows 10 Home

Archi Plug-ins

I use latest of all but not involved in this issue

Description

Hi Plil,
The import function could be failing to check thoroughly for uuid clashes between host and imported model elements.
I have encountered this a couple of occasions where an import appears to have been successful (i.e. no errors) but, in the post state, links to views which should have been independent, have become merged into one.
i.e. imported views replace, rather than append; the existing views of the parent model.

Steps to reproduce

The easiest way to reproduce would be for me to send you the parent and import model - but as these contain client information, I prefer to DM you rather than post here

@Phillipus
Copy link
Member

Hi, matching of objects is based on their UUIDs. This is intentional so you can update a model. The importer assumes that an object with the same UUID is to be updated. You'll need to uncheck the "Update existing objects and folders" option in the import wizard if you don't want this behaviour.

@lavenderb
Copy link
Author

All Clear - thank you :-)

@lavenderb
Copy link
Author

The problem is that the imported model has been made by a degree of copy-paste from similar models

  • so although the intent of the merge is a 'true' import', the module contains a mixture of new elements and 'unintentional' uuid duplicates.
    Now that we understand the tool better, we'll adjust our process :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants