xod icon indicating copy to clipboard operation
xod copied to clipboard

Attachment files are not removed from patch folder after respective marker is removed from patch

Open evgenykochetkov opened this issue 6 years ago • 0 comments

Environment

  • Scope: desktop IDE
  • Version: 0.26.0

Steps to reproduce

  1. Create a new patch, add marker nodes that "manage" attachments to it (as of 0.26.0, it's not-implemented-in-xod and tabtest)
  2. Save project in a folder (not as a .xodball)
  3. Check patch folder — there are patch.cpp and patch.test.tsv in there.
  4. Delete marker nodes
  5. Save again
  6. Check patch folder again

Expected behavior

patch.cpp and patch.test.tsv are gone

Actual behavior

patch.cpp and patch.test.tsv are still there

How to fix

xod-fs's calculateDiff operates with patches, does not take attachments into account.

evgenykochetkov avatar Dec 28 '18 16:12 evgenykochetkov