elFinder
elFinder copied to clipboard
tmb returned with getFileCallback is missing url after upload
I'm having an issue that only seems to arise when a custom path is set. After uploading a new file, the thumb is visible and everything appears fine. But when selecting the file, the object returned by getFileCallback()
contains only the filename and is missing the tmbURL
. This only happens immediately after uploading and everything is fine if I change views or close/open the elfinder modal.
It also only seems to happen when I am using a custom path. For example, this works fine:
URL: "https://example.com/image/catalog"
path: "/public_html/image/catalog"
tmbPath: "/public_html/image/cache/_elf_tmb"
tmbURL: "https://example.com/image/cache/_elf_tmb"
tmpPath: "/public_html/image/cache/.tmp"
But with these settings, the thumbnail url is missing after upload (the filename/hash is returned but sans url):
URL: "https://example.com/image/catalog/user_a"
path: "/public_html/image/catalog/user_a"
tmbPath: "/public_html/image/cache/_elf_tmb"
tmbURL: "https://example.com/image/cache/_elf_tmb"
tmpPath: "/public_html/image/cache/.tmp"
Is this a bug or a user error with my settings?
@billynoah It may be related to the #3216 issue. I will start the investigation.
@billynoah I fixed the problem with #3216. This issue may also have been fixed.
Can you see if the nightly build fixes this issue?
- https://github.com/Studio-42/elFinder#downloads
@nao-pon -sorry for the late response. I looked at your commit here: https://github.com/Studio-42/elFinder/commit/b40fcb8ca1c34dc07fbd84795c0f1d290823112a and yes that does seem to resolve the issue. Thanks!
This issue is stale because it has been open for 50 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.