View Issue Details

IDProjectCategoryView StatusLast Update
0012435MMW v4Playlist / Searchpublic2015-01-09 18:55
Reporterpeke Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version4.1.6 
Target Version4.1.6Fixed in Version4.1.6 
Summary0012435: Editing old Auto-Playlists (created by MM 2.5) can throw an exception
Descriptionin some cases where user wants to edit old (from earlier MMW Versions) Auto Playlist MMW throw an exception error.

MMW4.1.6 MM.DB and Elf file are uploaded to FTP along with Mediamonkey.mdb from MMW2.5.5
Playlist used for test editing is "Test"
TagsNo tags attached.
Attached Files
Autoplaylist.jpg (44,659 bytes)   
Autoplaylist.jpg (44,659 bytes)   
Fixed in build1726

Activities

Ludek

2014-12-18 17:42

developer   ~0041487

Last edited: 2014-12-18 17:46

It throws the exception because in case of the condition
Date > X
the X is just empty string instead of integer value representing the date.

I could suppress the exception, but it couldn't help much as the original date value cannot be reconstructed anyway.

@Peke, it would be valuable to find a way how to reproduce this so that I could fix the cause of this consequence.
Watching the code I have no idea how this value could corrupt.

peke

2014-12-18 21:53

developer   ~0041490

I've finally being able to replicate using MM 2.5.5 and the problem that in 2.5.5 you could set that value as "is known" didn't existed See attached picture.

Solution is to this and possibly others just translate/correct to Date -> Is Known and AutoPlaylist would be correct and editable.

Ludek

2014-12-19 00:35

developer   ~0041492

So if I understand correctly you:

1) Created AP with condition Date 'is known' in MM 4.1
2) Opened MM 2.5 and tried to edit the AP
3) Opened MM 4.1 again and tried to edit the AP

Right?

peke

2014-12-19 19:54

developer   ~0041506

Last edited: 2014-12-19 19:55

No, Here are the steps:

1. Openned 2.5.5 using backup library with same auto playlist
2. Checked if auto playlist edit (and fetch screenshot)
3. Updated library to 3.2.5 and checked edit (it failed)
4. Updated library to 4.1.6 and Auto playlist still can't be edited

NOTE: 2.5.5 do not work on Windows 7 at all. Mostlikely unless you have office 2003 installed that installs MDAC and JET and that is only for x86, So I used XP mode

Ludek

2014-12-21 16:48

developer   ~0041522

And the backup library was library previously used with MM 2.5.5 or 3.2.5 or 4.1.6 ? My suspection was that the auto-playlist was created with a higher version of MMW that supports the "is known" date value.

If the issue is just that the 2.5.5 corrupts auto-playlists created with newer versions then the correct solution would be to add a mechanism so that older versions couldn't run newer databases at all.

peke

2014-12-21 21:36

developer   ~0041523

Last edited: 2014-12-21 21:39

Backup library was created and used in MM2.5.5 (Access Database can't be used in MMW3+) and is working perfectly (including "test" Auto Playlist as shown in screenshot).

After upgrade to MMW3.x (MediaMonkey.MDB -> MM.DB) then "Test" Auto playlist is throwing error same if MM.DB is then upgraded to MM 4.x.

Issue is that Date > "" is legit criteria for MM 2.5.5 (Integer Value) which was used to tell MMW to include all Date field that have ANY value. In MMW3+ we changed this to String making upgrade falsly translate criteria to 'Date > ""' (Empty String eg. Error) instead 'Date Is Known'.

We should fix this by Translating Date > "" to Date Is Known when such Auto playlists are opened

NOTE: Same error is thown if in MMW2.5.5 auto plalist Criteria is Set to Track# > ""

Ludek

2015-01-04 17:34

developer   ~0041574

Last edited: 2015-01-04 17:37

Thanks for the clarification/findings.


Fixed in 4.1.6.1726

peke

2015-01-09 18:55

developer   ~0041631

Verified 1726