There are some cases where a refined diagram lose the layout and the file is called #0 so there is not chance to get the old one.
I can not specify in which scenarios it happens.
Best regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is caused by EcoreUtil.equals sometimes returning false when the correct diagram element layout to open has in fact been found. Fixed by not using EcoreUtils for this test and instead compare 'reference' property which is a fully qualified id. commit b4170ce
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
There are some cases where a refined diagram lose the layout and the file is called #0 so there is not chance to get the old one.
I can not specify in which scenarios it happens.
Best regards
This is caused by EcoreUtil.equals sometimes returning false when the correct diagram element layout to open has in fact been found. Fixed by not using EcoreUtils for this test and instead compare 'reference' property which is a fully qualified id. commit b4170ce