GNOME Bugzilla – Bug 638143
[PATCH] Missing files dialog: formatter does not correctly compare mappings when searching for probable matches
Last modified: 2011-05-24 01:16:15 UTC
When we load a project with missing files, we ask the user to tell us the new location of the first missing file; afterwards, the addMapping method (in formatters/base.py) checks if the other missing files can be found in that same new path. There is a bug in that method's algorithm, because it keeps prompting me for every file even though their new location is the same.
Commit 7a486d2bfe7acfee2deafd9c9edd2a8cb914bf91 in my "better-missing-files-dialog" branch fixes this (but you should merge the whole branch while you're at it :)
Created attachment 177112 [details] [review] the patch Contents of commit 7a486d2bfe7acfee2deafd9c9edd2a8cb914bf91
Now in master. commit a558480a8c6adc38c64bb4c16607d10af300b1de Author: Jean-François Fortin Tam <nekohayo@gmail.com> Date: Mon Dec 27 18:36:27 2010 -0500 Correctly "guess" the new path of missing media files (make sure that the URIs compared in addMapping have similar encodings) Fixes bug #638143