4952: OBJ bouble blanks removed from external file name
Brought to you by:
canajun2eh,
yalnifj
Hallo,
if your external file name contains 2 succinding blanks, only 1 will stored in gedcom link and you get a "file not found" error.
This happens even you do an import or use addmedia.php
examp:
>>>1826 S01r - Konfirm N1-3.jpg<<< is stored as
>>>1826 S01r - Konfirm N1-3.jpg<<<
regards
Frank
I was just to report this.
Users fill media with their file-names that may contain more than one consecutive blank.
We have already had this issue in the past.
In 4.1 this worked still OK.
The file remains with the two blanks, but the file name in the media table is with just one blank.
PGV does not enable to update the file name, because it does not find the file.
Meliza
There's not much we can do about this. That's the nature of browsers: they collapse multiple blanks to one.
Moral:
"don't do this". It's best to not have any blanks in file names at all.
Hi Gerry,
it isn't a browser problem at all. The files were added about 2 years ago under a pre release of pgv.
The mismatch happened in the last time, after reimporting the gedcom when updating from 4.1.6 to 4.2.
I changed all the (20) filenames on my server, so we have a simple workaround.
regards
Frank
Gerry,
We cannot teach every user how to create his file-names.
We can 'teach' PGV not to remove spaces from media file-names when the data is imported.
I do not like to change the filename created by the user.
I also updated now my existing files that had the blanks using filemanager outside PGV.
In the future this will be more complicated because the file-name with the spaces will not exist in DB tables.
Because of the update I now miss these files in my 4.1 sites.
Meliza