kiegroup / kie-tooling-store

5 stars 5 forks source link

VSCode lost changes #78

Open rafael-arreola opened 3 years ago

rafael-arreola commented 3 years ago

I am currently doing something in kogito and lately when I make modifications to my diagrams, I save, close the file and reopen it <= 50% of my modifications are lost.

Unfortunately I can not give more information because I do not know what causes it

ederign commented 3 years ago

@rafael-arreola thanks for reporting that and I understand that in this case is hard to provide a reproducer. We will take a look at it!

ederign commented 3 years ago

@rafael-arreola some initial questions:

rafael-arreola commented 3 years ago

- do you have autosave active on VS Code? RE: Saving is manual, autosaving is not active

- Did your editor stay idle for a long time during these 5~6 hours? Or you are actively working with the editor on this 5-6 hours? RE: both, sometimes I make modifications in small intervals of several minutes and then I do long tests, and I am constantly readjusting, on other occasions I have opened the bpmn to interpret some things without modifications for several hours, until I find X adjustment, I do it and curiously some changes are stored but not all

The time I accumulate is for calls, presentations or other reasons, but I do not close I use linux, Manjaro and append the vscode information image

The last time it happened to me, I copied a Lane with 4 - 7 elements and pasted it 2 times, it was saved correctly [ctrl + s here], then modify the packages referred to by each of the ServiceTask and adjust some arrows [ ctrl + s here]... change project to check something in the same instance, I go back to the previous project and the changes were only until the copy and paste and the first package changes, the second lane changes and all the decision arrows were they lost

It has also happened to me when I am presenting, I make live modifications, save, close the file by request, they ask me to open the file again and the changes are not there, I modify again I check that the icon says that it has saved, I close, I open and the changes were again lost, but if I close the editor and reopen and modify they are saved correctly

sorry for english i use google translate

hope this helps