I have encountered very strange problem when testing Slide server.
I was testing Slide 2.0 version and Slide WebDav Client
The first configuration I tested used JDBCStore (with MySql driver),
the second used TxXMLFileDescriptorsStore and TxFileContentStore.

First I tried to PUT a new resource on a server.

put stopka.txt stopka.txt

The response from the server was :

http8080-Processor25, 12-maj-2004 11:15:22, emsz, PUT, 201 "Created", 4136 ms, /files/stopka.txt

Then I used GET to retrieve the resource and eveything was OK.

Then I tried to overrite the existing resource with a new file :

put stopka2.txt stopka.txt

The response from the server was following :

http8080-Processor17, 12-maj-2004 11:17:02, emsz, PUT, 204 "No Content", 1828 ms, /files/stopka.txt

So, I checked with GET if the file was actually stored on server

The server responded with :

http8080-Processor23, 12-maj-2004 11:35:18, emsz, GET, 304 "Not Modified", 33 ms, /files/stopka.txt

and returned the first version of the file (local stopka.txt)

But when I checked the content of the VERSION_CONTENT table (when using database store) or the files in
the /store/content/ directory (when using filesystem store) I discovered that the server actually stores the second version
of the file (local stopka2.txt)


So the question is why do i get "No content" response when I try to overwrite a resource with a new file ?
And why do I receive and old version from the server, when it is storing a new one ?




I also tested Slide 2.0 beta version and it's behaviour is also strange :
when I try to overwrite a resaource a get "No content" response, but when I the execute GET command I receive a second
version of the file.





Emilian Szyburski




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



Reply via email to