You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Eric Hodges <er...@mongoosetech.com> on 2002/03/19 21:39:13 UTC

Problem changing resource owner

My client code is attempting to change a resource's owner like this:

      WebdavResource resource = helper.getWebDAVResource(path);
      boolean result = resource.proppatchMethod(path, new
PropertyName("DAV:","owner"), newOwner);

The Slide server throws this exception and returns a 500:

org.apache.slide.content.RevisionDescriptorNotFoundException: No revision
descriptor found on object /files
	at
slidestore.reference.MemoryDescriptorsStore.retrieveRevisionDescriptor(C:/jak
arta-slide-1.0.16/src/stores/slidestore/reference/MemoryDescriptorsStore.java
:557)
	at
org.apache.slide.store.AbstractStore.retrieveRevisionDescriptor(C:/jakarta-sl
ide-1.0.16/src/share/org/apache/slide/store/AbstractStore.java:1016)
	at
org.apache.slide.store.StandardStore.retrieveRevisionDescriptor(C:/jakarta-sl
ide-1.0.16/src/share/org/apache/slide/store/StandardStore.java:570)
	at
org.apache.slide.content.ContentImpl.store(C:/jakarta-slide-1.0.16/src/share/
org/apache/slide/content/ContentImpl.java:919)
	at
org.apache.slide.webdav.method.PropPatchMethod.executeRequest(C:/jakarta-slid
e-1.0.16/src/webdav/server/org/apache/slide/webdav/method/PropPatchMethod.jav
a:308)
	at
org.apache.slide.webdav.method.WebdavMethod.run(C:/jakarta-slide-1.0.16/src/w
ebdav/server/org/apache/slide/webdav/method/WebdavMethod.java:312)
	at
org.apache.slide.webdav.WebdavServlet.service(C:/jakarta-slide-1.0.16/src/web
dav/server/org/apache/slide/webdav/WebdavServlet.java:267)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)

What's the correct way to change a resource's owner?

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>