View Issue Details

IDProjectCategoryView StatusLast Update
0013013MMASynchronizationpublic2015-12-15 19:55
Reporterrusty Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.1.3 
Target Version1.1.3Fixed in Version1.1.3 
Summary0013013: Enforcing a changed sync path in MMW can cause media to disappear from MMA
DescriptionMarek indicated that this bug should occur if:
1 shut down MMA
2 change masks
3 USB sync (with enforce)
4 start MMA
--> all playlists and tracks are missing in MMA (despite the fact that content does appear to be on the device).

I originally triggered the bug as follows:
1 In MMW, perform a USB sync operation of a playlist to the sd card of a samsung tab running kitkat (i.e. it has write restrictions on the sd card which impact Wi-Fi sync)

2 In MMA, perform a Wi-Fi sync operation of another playlist to the sd card
--> content is stored to an app-specific directory and the root location is changed

3 Close MMA

4 In MMW, click Sync Profile for a device > 'File Locations' and enable 'Enforce sync mask...' and initiate autosync
--> All content appears to recopy

5 Run MMA
--> all playlists and all content is missing (including content that had been synced to both app-specific and /Music folders)!

Note: according to marek, the main cause is that MMA was stopped at step 1 / 3 of the above examples.
TagsNo tags attached.
Attached Files
bug_13013_log.zip (133,372 bytes)
Fixed in build520

Activities

marek

2015-12-11 00:51

developer   ~0043593

Last edited: 2015-12-11 01:10

Fixed in build 519

I had to refactor it a little bit because it wasn't changed for 3 years and there were some inconsistences. But it wasn't critical. The main functiolity is that MediaStore sync should be started on app start or if MMA is one minute on background and should not be started when USB sync is running. And USB sync should be started prior to MediaStore sync on startup.

rusty

2015-12-11 06:07

administrator   ~0043601

I performed the same set of tests as I'd orginally performed, and the playlists were again empty, and all content is missing from the MMA library.

Note: the music files do appear in the app-specific folder (though not in MMA), but the playlist doesn't appear anywhere.

MMA Log: USWUDGCSUR
MMW log: attached

marek

2015-12-11 15:08

developer   ~0043610

There was another workflow - other service caused to start MediaStore sync prior to USB sync.

Fixed in build 520

rusty

2015-12-15 19:55

administrator   ~0043673

Verified MMA 523 vs MMW 1778.