MenthorTools / menthor-editor

Menthor Editor
30 stars 7 forks source link

Weird interaction between ctrl+z and structuration relation #64

Open BernardoFBBraga opened 8 years ago

BernardoFBBraga commented 8 years ago

Model is correct when creating the relation the first time, is incorrect after ctrl+z and recreating relation

Steps to recreate bug: 1- create Nominal Quality 2- create Decimal Ordinal Dimension 3- create structuration relation between them 4-check model (no errors) 5-Ctrl+z (structuration relation is now gone) 6- create structuration relation again 7- check model (error appears "All Reference Structures of a Nominal Quality should be Nominal Reference....)

BernardoFBBraga commented 8 years ago

Bonus: delete all classes and check model for a nullpointer exception

johnguerson commented 8 years ago

Realmente tem muitos bugs aqui. Estou tentando ver todos os casos aqui.

tgoprince commented 8 years ago

Na real, o problem é que o CTRL+Z não deleta de verdade a relação, apesar de remover do diagrama e do project explorer.

tgoprince commented 8 years ago

Tanto que se salvar o projeto, fechar e abrir de novo, as relações estarão no project browser.