Active
Project:
File Entity Paths
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Sep 2012 at 09:58 UTC
Updated:
18 Feb 2015 at 09:54 UTC
Jump to comment: Most recent
The URIs of files are not very "clean" (in file_managed)
e.g. public://tesdir-imagesx/d//./dsc00212.jpg
This is using just the Global settings for files of type Image. (I have added a custom token for taking the first character of a filename, if anyone wonders where the 'd' directory came from).
Comments
Comment #1
szantog commentedWhat is exactly in global settings image part? What is the original filename? (dsc00212.jpg, I think so.) What is the token value in the http://yoursite.com/file/[FID]/devel/token page?
Comment #2
paulbeaney commentedHi,
Thanks for all the other tweaks over the last few days. I'll test them later this week. With regards to your questions above (this is with the latest version of the Alpha code), I can no longer re-produce this problem.
However, I have found that if you leave a trailing slash on the path settings in "Global settings for image" (e.g. public://tesdir-imagesx/[file:ffp-first-letter]/), you end up with a double slash in the URI in table file-managed (e.g. public://tesdir-imagesx/d//divers_107_0.jpg).
Regards,
- Paul
Comment #3
szantog commentedGood point, to be safe, added warning test to the description. And many thanks for the detailed testing!
Comment #4
skdrupal88Have the same an error.
I have:
(differences in double slash)
And following code doesn't work (fe_paths.module:399):