Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
jcs-1.3
-
None
-
Java - Tomcat 7 - Hibernate 1
Description
If region name conatins slashes (this occurs in collection mapping with hibernate 1)
<set role="sgtProgramaIdioma" lazy="false" readonly="true" cascade="all">
<jcs-cache usage="read-write" />
region name = SgtPrograma/sgtProgramaIdioma
Indexed (and Block) cache fails tWork ao initialize, they do a File.mkdirs() on root dir but doesn't check for File.canWrite() or additionall subdirs.
If nothing can be be done we're extend BlockDiskCacheFactory, BlockDiskCacheManager and BlockDiskCache to create subfolders if needed ....
Thanks