Closed (fixed)
Project:
Web File Manager
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
16 Nov 2011 at 16:25 UTC
Updated:
13 Dec 2011 at 15:10 UTC
Jump to comment: Most recent file
[webfmid] & [webfmfolder-path-raw] work as expected.
Example:
Alias should be:
download/[filename]/[webfmid]
Alias created instead:
domain.com/download/159
#where 159 is webfmid.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | patternfilenamemissing-1343624-1.patch | 2.63 KB | nhck |
Comments
Comment #1
nhck commentedAbsolutely right,
I attached a patch for you to test - if that would be possible? (In case you are unfamiliar with patching: http://drupal.org/patch)
Comment #2
nhck commentedComment #3
kasalla commentedhey,
now filename works, but webfmfolder-path-raw does not...
[filename]/[webfmfolder-path-raw]/[webfmid]
comes to
testpdf/12
Comment #4
nhck commentedHej,
thats odd - because for me that one works. Maybe you can illustrate the case a bit more? :-) In which folder did you place your file? What do you expect it to be and why?
Comment #5
kasalla commentedheyho,
I defined an alias in url-alias section with all available webfm patterns in it.
e.g. [filename]/[webfmfolder-path-raw]/[webfmid]
Before the patch the result was:
path_to_file_raw/159 //filename missing.
After the ptach the url is created like this:
mydocumentpdf/159 //filepath missing :-)
I tested on a fresh d6.22 installation with webfm and pathauto.
I placed the patch in module/webfm dir.
does this help?
Comment #6
nhck commentedhmm,
but mydocument.pdf isn't in the top path is it??
webfm/mydocument.pdf -> should give example.com/mydocument.pdf/159
If you create a folder in the filebrowser "bla" so that:
webfm/bla/mydocument.pdf -> should give example.com/mydocument.pdf/bla/159
are you maybe expecting webfm to show up?
Comment #7
kasalla commentedoh year, my fault.... in my fresh d6 installation webfm file place is right under sites/all/files.
Initially this "bug" occures on a live site, where files where placed in sites/all/files/bla.
think you can close this
Comment #8
nhck commentedThank you anstosser for your help :-)
You actually found a bug that I could fix AND stayed on to help. Very nice - thank you.
I'll get this in the rc-version soon.
Comment #9
nhck commentedThis is now in the dev version.