fixed bugs 47, 48, 49 and reduced complexity of dup counting as well. Now removes dirs than become empty due to duplicate removals

This commit is contained in:
2021-09-04 19:50:49 +10:00
parent 4a9c3b4aa3
commit eb0145467f
5 changed files with 69 additions and 56 deletions

5
BUGs
View File

@@ -1,8 +1,3 @@
### Next: 49
BUG-45: when deleting, the .pa_bin path has c:\ ... in it, not the real path
-- due to multiple Bin paths, really only should have one... Prob. best to re-jig Setting to have Base path (diff for me and Cam), then only 1 Bin path of base, can allow multiple import / storage as it works anyway
BUG-46: when duplicate is in both import dir x 2 and at least 1 storage (maybe more), it tries to delete/keep it twice
BUG-47: maybe related to BUG-46, but the counts for deleting are broken (saying 2 manual choices to delete 0 / keep 0 files)
SEEMS related... file is in Storage and choices in Import, Storage keeps file first, Import choices are then
thrown away (definitely caseus BUG-46, and I think causes the counts too)
BUg-48: initial code to CleanUpDirInDB does not even seem to be called, let alone work