Re: [platform-dev] E4 model persisted (randomly)

2018-04-24 Thread Brian de Alwis
It is annoying. Bug 378815 / 485454 propose adding a 'transient' flag for elements in the model that should not be persisted. We'd then have non-persisted editors add this flag to the MPart. But Erdal, you should really fix your tests to start with a fresh workspace. Brian. > On

Re: [platform-dev] E4 model persisted (randomly)

2018-04-23 Thread Erdal Karaca
Hi Tom, Do you have a hint where to look at the sources? Do you know what the purpose of that mechanism/timer is? I just found "Workbench save interval (in minutes)" in the preferences dialog? Thanks. 2018-04-23 9:41 GMT+02:00 Tom Schindl : > Yes there is a timer

Re: [platform-dev] E4 model persisted (randomly)

2018-04-23 Thread Ed Merks
Yes, I've noticed too (while debugging) that if you kill the application, any open editors that shouldn't be persisted are persisted nevertheless and are reopened on the next start, which of course fails. Regards, Ed On 23.04.2018 09:41, Tom Schindl wrote: Yes there is a timer running (and

Re: [platform-dev] E4 model persisted (randomly)

2018-04-23 Thread Tom Schindl
Yes there is a timer running (and there's even preference value). My guess is that the cleanup of the model is done directly before shutdown. Tom On 23.04.18 09:38, Erdal Karaca wrote: > Hi devs, > I observed the following behavior of the platform: it seems to randomly > persist the application

[platform-dev] E4 model persisted (randomly)

2018-04-23 Thread Erdal Karaca
Hi devs, I observed the following behavior of the platform: it seems to randomly persist the application model at run time. Now, if the application process is killed (or not properly shut down), the platform will reload that intermediate model which leads to duplicated model entries, for example,