View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0012435 | MMW v4 | Playlist / Search | public | 2014-12-15 02:20 | 2015-01-09 18:55 |
Reporter | peke | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 4.1.6 | ||||
Target Version | 4.1.6 | Fixed in Version | 4.1.6 | ||
Summary | 0012435: Editing old Auto-Playlists (created by MM 2.5) can throw an exception | ||||
Description | in 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" | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Fixed in build | 1726 | ||||
|
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. |
|
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. |
|
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? |
|
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 |
|
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. |
|
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# > "" |
|
Thanks for the clarification/findings. Fixed in 4.1.6.1726 |
|
Verified 1726 |