spacer.gif (File Not Found) using ASSET_REAL_PATH #1992

mabouza opened this Issue Feb 3, 2013 · 0 comments


None yet
1 participant

mabouza commented Feb 3, 2013

Submitted on the mailing list

I'm getting file not found for spacer.gif in my logs when attempting to get thumbnails.

I'm not sure how this would ever work if I set my ASSET_REAL_PATH outside of my DotCMS directory ...
String path = fileAPI.getRealAssetsRootPath() + + ".." + + "html" + + "js" + + "editor" + + "images" + + "spacer.gif"; f = new;

This code logic is implying that my assets directory is relative to my dotCMS/html directory which is isn't if I've specified ASSET_REAL_PATH.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment