Webix & moveFile / _moveFile

Hey there,
so I’m having the following example.
I’m moving a File from
C:/Users/admin/Desktop/x.txt
to
C:/Users/admin/test/x.txt

When dragging and dropping the file, the file is now placed in
C:/Users/admin/test

So far so good. However, now when reloading C:/Users/admin/test (in the same session),
the files are added to C:/Users/admin/test, but x.txt is now shown two times.
Once the copy, and once from the result of the reload.

This happens even if the ID is modified to match (Duplicate IDs).

clearBranch on C:/Users/admin/test before refreshing won’t work either, the copied file will remain there. The only way to clear completely is doing clearAll, but it’s not a solution in this case.

Is there anyway to fix this without using clearAll?

Hey @davidc, it’s pretty hard to tell what the issue is exactly in your case, without being provided a snippet or anything to go by. If at all possible, please try to share an example via the snippet tool so I would be able to help you better.

But in general, one thing you could try right now is clearing the contents of your branch manually with the help of onBeforeDynParse event: https://snippet.webix.com/newu60bu.

Has been fixed. Thank you