Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.01
-
None
Description
1. Enter a URL to a file without the .html extension
e.g. http://www.charles-voegele.ch/ch/de/Events/Neueroffnung
2. The cache will create a file without the extension
e.g. /var/cache/public/default/ch/de/Events/Neueroffnung
3. Access a URL below the current page
e.g. http://www.charles-voegele.ch/ch/de/Events/Neueroffnung/Vevey
4. The cache will try to create a directory
e.g. /var/cache/public/default/ch/de/Events/Neueroffnung
The create directory command will fail because there already is a file with that name.
An error is logged:
info.magnolia.cms.core.CacheHandler 08.03.2005 19:52:01 – ERROR – Can not create director
y - /var/cache/public/default/ch/de/Events/Neueroffnung
info.magnolia.cms.core.CacheHandler 08.03.2005 19:52:01 – ERROR – Not a directory
java.io.IOException: Not a directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:828)
at info.magnolia.cms.core.CacheHandler.cacheURI(CacheHandler.java:86)
at info.magnolia.cms.core.CacheProcess.run(CacheProcess.java:49)