Setting of meta-data

15 views
Skip to first unread message

jimbomt

unread,
Aug 2, 2011, 5:46:08 AM8/2/11
to sardine
Hi all,
I have just started working with sardine and have a question regarding
the handling of metadata. All primitive methods work properly (put,
list, delete) but i'm stuck when it comes to patch() and
DavResource.getCustomProps(). Both return an "Unexpected response"
error. I have a pastie showing how i'm using patch and respectively
the stack trace of the error it returns: http://pastie.org/2308199

thanks for any help
James

jimbomt

unread,
Aug 2, 2011, 5:57:29 AM8/2/11
to sardine
Hi,
just a little additional info: the response phrase returned in the
SardineException is "Method Not Allowed". The patch method worked when
using the old jackrabbit library. I'm wondering whether there's a
version mismatch here.

thanks for any insight.
James

Jon Stevens

unread,
Aug 2, 2011, 12:15:11 PM8/2/11
to sardi...@googlegroups.com
David, can you please put a toString() implementation on SardineException so that stack traces have meaningful information in them?

jon
Reply all
Reply to author
Forward
0 new messages