With the latest code, several of the the litmus (http://www.webdav.org/neon/litmus/) copymove tests are failing. I can reproduce this with the slide webdavclient. For example a simple "COPY source destination" through the webdav client returns a 412 Precondition failed because "destination" already exists. If I trace the calls I see the WCK setResourceContent() being called correctly and then I see a subsequent createFolder() call on the same resource. This is the call that fails and generates the error that the client is seeing (because the resource already exists).
The ContentImpl is trying to store the revision descriptor after storing the content, and that's why I'm getting called with the createFolder().
I'm configured to not use DeltaV in slide.properties. This worked correctly before I updated the codebase. Bug or configuration issue?
Here's a call trace from the WCK createFolder.
Ideas?
Thanks! -John
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java:1101)
at com.ris.manager.gateway.http.WebdavStoreImpl.createFolder(WebdavStoreImpl.java:198)
at org.apache.slide.simple.store.WebdavStoreAdapter$TransactionId.storeRevisionDescriptor(WebdavStoreAdapter.java:733)
at org.apache.slide.simple.store.WebdavStoreAdapter.storeRevisionDescriptor(WebdavStoreAdapter.java:295)
at org.apache.slide.store.AbstractStore.storeRevisionDescriptor(AbstractStore.java:1373)
at org.apache.slide.store.ExtendedStore.storeRevisionDescriptor(ExtendedStore.java:1093)
at org.apache.slide.content.ContentImpl.create(ContentImpl.java:607)
at org.apache.slide.macro.MacroImpl.copyObject(MacroImpl.java:838)
at org.apache.slide.macro.MacroImpl.copy(MacroImpl.java:274)
at org.apache.slide.webdav.method.CopyMethod.executeRequest(CopyMethod.java:202)
at org.apache.slide.webdav.method.AbstractWebdavMethod.executeRedirect(AbstractWebdavMethod.java:586)
at org.apache.slide.webdav.method.AbstractWebdavMethod.run(AbstractWebdavMethod.java:419)
at org.apache.slide.webdav.WebdavServlet.service(WebdavServlet.java:151)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
-- John Rousseau Archivas, Inc. [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]