You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by Valeriy Podkolzin <vp...@atg.com> on 2001/04/26 00:25:01 UTC

A BUG in JDBCContentStore for PUT method

I'm not sure if this bug was fixed.

JDBCContentStore creates a temp file to get the length of content during PUT
method.

If Slide run on Windows and the path to a resource inclides a collection
then the file system cannot create a temp file with this kind of a name:


tempFileName : test_collection/temp_res.txt-1.0
java.io.IOException: The system cannot find the path specified
        at java.io.Win32FileSystem.createFileExclusively(Native Method)
        at java.io.File.checkAndCreate(File.java:1159)
        at java.io.File.createTempFile(File.java:1244)
        at java.io.File.createTempFile(File.java:1281)
        at
org.apache.slide.slidestore.reference.JDBCContentStore.storeContent(J
DBCContentStore.java:592)
        at
org.apache.slide.slidestore.reference.JDBCContentStore.createRevision
Content(JDBCContentStore.java:445)
        at
org.apache.slide.store.AbstractStore.createRevisionContent(AbstractSt
ore.java:955)
        at
org.apache.slide.store.StandardStore.createRevisionContent(StandardSt
ore.java:644)
        at org.apache.slide.content.ContentImpl.create(ContentImpl.java:501)
        at
org.apache.slide.webdav.method.PutMethod.executeRequest(PutMethod.jav
a:339)

Valeriy Podkolzin