Skip to content

RelationshipId sometimes changes on refresh #49

Closed Answered by simonbrowndotje
bleathome asked this question in Q&A
Discussion options

You must be logged in to vote

I would need to check, but that may be the case with (1) implied relationships and (2) relationships between software system/container instances.

This is the case ... with (2) the replicateElementRelationships() method finds eligible elements via a Java stream and does a toSet(), which won't guarantee the ordering, and therefore relationships may be allocated different IDs.

Why the change only sometimes? Changes made in the diagram editor in your web browser will cause the workspace to be saved (i.e. saving the layout information). The underlying workspace is stored as a JSON file, and the Java serialisation process (from the DSL parser) will sometimes differ from the JavaScript seriali…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@bleathome
Comment options

Comment options

You must be logged in to vote
4 replies
@bleathome
Comment options

@simonbrowndotje
Comment options

@bleathome
Comment options

@simonbrowndotje
Comment options

Answer selected by bleathome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants