This repository was archived by the owner on Aug 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
This repository was archived by the owner on Aug 23, 2023. It is now read-only.
Corrupted Grafico files #3
Copy link
Copy link
Open
Description
This is a copy of an issue create by @stefjoosten on Archi repository but related to GRAFICO
Grafico is, if I'm informed correctly, meant for multi-user support with Git. In principle, this works fine. Except in some cases.... In our project, we have experienced three times that Grafico-files were corrupted. This issue documents the most recent occurence.
An Archimate-repository of Bart den Dulk (bdendulk) contains an example of a corrupted Archimate repository.
Loading it in Archi by means of a Grafico-import goes well.
It can then be inspected and changes as any other Archimate-repo.
However, saving the (unchanged) model as an ordinary Archimate-repo yields the following error:
Analysis
- It seems that the example contains 4 violations of a system invariant of Archi. Maybe Archi does not check all of its system invariants when importing from Grafico. I would expect a corrupted file to be rejected when it is imported.
- In commit "Herstel actie 4 orphaned relaties" @bdendulk has fixed the problem by hand. The difference between this commit and the original gives helpful symptoms of the problems. Bart's fix is consistent with the error message shown above.
Diagnosis
- It seems to me that Archi should be more particular in guarding its system invariants.
- The question how the Grafico input got corrupted needs to be answered as well. For now, we can only guess. One (and the only) guess is that a commit in Git was performed before Archi was done saving the model to Grafico. There is no experimental validation of this guess yet.
Metadata
Metadata
Assignees
Labels
No labels