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

Deleted elements are not propagated to other models #119

Open
strauss115 opened this issue May 10, 2021 · 1 comment
Open

Deleted elements are not propagated to other models #119

strauss115 opened this issue May 10, 2021 · 1 comment

Comments

@strauss115
Copy link

strauss115 commented May 10, 2021

Version of Archi
v4.8.1 (64 bit)

Archi Plug-ins
Database plug-in v2.2.19
Using sqllite for testing

Operating System
Windows 10

I am using the database plugin in order to keep some often & shared elements in a common model which is also exported to the database. When starting a new project I import those elements in shared mode. The database plugin propagates changes between those models well.

However, when I delete an element in the central model (or another model where they are used) and export these changes to the database it is not recognized in other models. Although the element is recognized to be deleted in the model, this change is not reflected in the database. I.e. 'deleted_by' & 'deleted_on' stay 'NULL' in elements table.

Any ideas how to resolve that? Thanks in advance & extract of log is attached.
DatabasePlugin.log

@herve91
Copy link
Collaborator

herve91 commented May 10, 2021

At the moment, the delete functionality only deletes the component from the active model, not all the models that are using it.

I never implemented the "delete from database" functionality as it triggers some tricky questions when it comes to delete a view or a folder.

But it may be the right time to put it back on the top.

I can't commit to any date as I just started a new job and so, am quite busy ... but I'll do my best.

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

No branches or pull requests

2 participants