View Issue Details

IDProjectCategoryView StatusLast Update
0016422MMW 5FileMonitor / Find Missingpublic2022-09-22 14:58
Reporterrusty Assigned To 
PriorityurgentSeverityminorReproducibilityalways
Status closedResolutionreopened 
Product Version5.0 
Target Version5.0Fixed in Version5.0 
Summary0016422: MM Scans the wrong path if the user attempts to scan a directory after deleting files
DescriptionIf a user attempts to delete files from a directory (from the library only) and then rescan the directory (which a user might do to refresh the db), MM scans the wrong directory making it appear as if the files were completely deleted;

1 Go to Music > Location > Drive: > DirA > DirB > DirC [List]
2 Select all the files in the directory and press Delete (from the library only)
--> files are removed from the view
3 Press INSERT to Add/Rescan the directory
--> Files aren't added ! The reason that the files aren't added is because MM scans Location > Drive:DirC (instead of Drive:DirA/DirB/DirC
TagsNo tags attached.
Attached Files
bug16422-build2232.7z (79,132 bytes)
Fixed in build2233

Relationships

related to 0016659 closedpetr Location node [list] displays duplicate tracks when edits are made to the tracks 
related to 0016787 closedLudek Media Tree Node selection changes, possibly due to scanning 
related to 0017343 closedLudek Switching Next in Properties can move selection in Media Tree up one node 
related to 0019388 closedLudek Auto-Organize: If empty folder is deleted MM do not refresh tree to reflect deletion 

Activities

Ludek

2020-03-11 16:34

developer   ~0057148

Based on my tests:

1 Go to Music > Location > Drive: > DirA > DirB > DirC [List]
2 Select all the files in the directory and press Delete (from the library only)
--> files are removed from the view together with empty folders (nodes in the media tree) and focused the parent Drive:DirA
3 Press INSERT to Add/Rescan the directory
=> files are added because it scanned whole Drive:DirA

But maybe your testing files were deadlinks and therefore were not added again ?

Ludek

2020-03-11 16:36

developer   ~0057149

Last edited: 2020-03-11 16:40

Assigned back to me: The 'Media Tree' needs to be disabled to reproduce the bug.

Changed target to 5.0 as it does not seem to remove empty folders when removing with 'Media Tree' disabled.

Ludek

2020-03-13 13:41

developer   ~0057185

Fixed in 2232

rusty

2020-03-13 21:55

administrator   ~0057190

Tested 2232 and the original issue is still occuring:
https://www.screencast.com/t/QMreM8ZqHfd

Ludek

2020-03-15 17:46

developer   ~0057197

Fixed in 2233

rusty

2020-03-20 21:13

administrator   ~0057259

Verified 2233 (now deleting all files in a folder switches views preventing the user from scanning a directory that's no longer in the DB).