Hi

I'm trying to setup a versioning Slide. I use the CVS version from 8/10 -02 and got it 
working ok with the default hsqldb. (Nodestore and contentstore uses hsqldb). What 
works is to drop files and have them automatically put under version control, change 
the original, drop them again and get another revision. Fine, so far.

Then, I tried to open a .doc-file from the WebDAV-folder by double-clicking it from 
Windows Explorer and starting Word. Word starts ok but fails to read the file with the 
error:

"The document name or path is not valid. Try these suggestions.
* Check the file permissions for the document or drive.
* Use the File Open dialog box to locate the document.
<document URL>"

When this has happened to a document, it becomes corrupted. It's impossible to open it 
again, even if I try to open it with the Open File dialog in Word. If I try that 
before it gets corrupted however, it works fine. Also, double-clicking on a document 
when Word is running works fine.

Second, the document seems to be the correct size looking at the WebDAV folder but 
when I copy the file to the filesystem, it has shrunk from ~108kB to exactly 65535 
bytes. So it really seems to be a buffer overrun problem somewhere.

Everything works just fine with small documents. I guess the limit is 64kB.

I've also tried a setup using MySQL as the nodestore and FileContentStore as 
contentstore and that works ok all the way. But if a use JDBCContentStore to MySQL, 
the same problem arises again.

So, the problem shows itself when JDBCContentStore is used, Word is not running, and I 
double-click on a .doc-file larger than 64kB.

Anybody seen this? It seems to be a bug in JDBCContentStore, I had a quick glance at 
the code but I couldn't find anything obvious.

Cheers,

        Magnus

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to