AToMPM / atompm

A Tool for Multi-Paradigm Modeling
https://atompm.github.io/
GNU Lesser General Public License v3.0
22 stars 15 forks source link

Cannot switch between two models with same abstract syntax but different concrete syntax #28

Closed BentleyJOakes closed 6 years ago

BentleyJOakes commented 6 years ago
  1. Load the default icon version of the class diagram metamodel
  2. Create an element of the Class type
  3. Open up a new model
  4. Load the UML version of the class diagram
  5. Create an element of the Class type
  6. When one of the models is loaded, try to load the other
  7. AToMPM will crash with an empty changelog AToMPM/__worker.js:266 if( step['op'] == 'RESETM' ) TypeError: Cannot read property 'op' of undefined

Example files are here

BentleyJOakes commented 6 years ago

Models included in default user that exhibit this issue:

BentleyJOakes commented 6 years ago

Upon discussion with Vasco:

When loading a model (new or alongside), load the concrete syntax from the second model if it is different from that already loaded.