View Issue Details

IDProjectCategoryView StatusLast Update
0003175MMW v4Properties/Auto-Toolspublic2007-07-16 02:20
Reporterjiri Assigned To 
PriorityurgentSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version3.0 
Fixed in Version3.0 
Summary0003175: Regression: Auto-Organize $if() function doesn't work
DescriptionAs reported in http://www.mediamonkey.com/forum/viewtopic.php?t=18616 , $if() function in auto-organize doesn't work well.
TagsNo tags attached.
Fixed in build1049

Activities

jiri

2007-06-25 20:44

administrator   ~0009572

Fixed in build 1046.

rusty

2007-07-15 04:29

administrator   ~0009739

The issue raised in the forum still isn't completely resolved.

The problem is that when the user clicks the '>>' button to configure the mask, <Custom1> is shown instead of <Custom 1>. When the user manually corrects this, the mask functions.

We should just correct the dropdown list (but I don't understand why this was implemented as a separate string (i.e. the String that appears in the dropdown list should be the same string that appears in the description of the Custom field).

jiri

2007-07-15 09:35

administrator   ~0009765

Technical: It seems to be caused by constants in MaskHelper.pas, but I didn't fix it because there are some wider problems:

1. Constants are stored like '<Year>', etc., i.e. they aren't language neutral. They should rather be stored as '%Y' or better just 'Y' in this case, so that they can be converted to full words according to user's locale in runtime. (using functions from ViewManage.pas).

2. MaskDescs constants don't get .po files for translation, because only strings stored as _('xxx') in sources are. It's better to modify sources slightly so that strings are stored this ways. See e.g. mp3manage.pas for samples.

3. Numbers in MaskPack_Rip and other arrays should be changes to constants for easier modifications.

petr

2007-07-15 23:04

developer   ~0009786

Fixed. Will be in 1049.

rusty

2007-07-16 02:20

administrator   ~0009792

Verified 1049.