When setResourceContent() is called on a resource that does not exist you should throw ObjectNotFoundException as explained in the Javadocs.
Oliver On Wed, 05 Jan 2005 20:52:14 +0200, Roman D <[EMAIL PROTECTED]> wrote: > > When PUTting file from windowsXP client, setResourceContent() is called > before createResource(). > With Database storage it's problematic. While in reference > WebDavFileStore it's okay because you automatically create file with > setResourceContent. > If you store objects in database you can't setResourceContent() if you > didn't create object yet. > As a workaround I call createResource() from setResourceContent() if > resource does not exists. > > If this me again or something wrong with WCK logic? > > Thanks. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]