On further investigation of this matter, I found the source of the problem with versioning a copied resource. I am creating a resource using: WebdavResource.putMethod(String path, InputStream fileStream) This creates a resource fine but the *getcontentlength* property of the resource is set to -1. Therefore when I copy this resource, there must be some problem though the copy call returns fine without any errors. I face an error only when I try to version control this copied resource.
I am certain about the cause of the bug (which is getcontentlength property being set to -1), because I tested by manually modifying the getcontentlength property and then repeating the steps of copy and versioncontrol. It worked fine. This getcontentlength property bug happens only when using InputStream with putMethod. When using File argument, everything goes fine. Does anyone know the fix for this bug? Thanks and Regards, Ritu -----Original Message----- From: Ritu Kedia [mailto:[EMAIL PROTECTED] Sent: Friday, July 16, 2004 6:25 PM To: Slide Users Mailing List (E-mail) Subject: Facing problem with version-controlling a resource created by Cop y method in BindingStore Has anyone faced a problem with *Put Under Version Control* on a resource created by *Copy* when using BindingStore? I get the following error message: 500 Internal Server Error: Revision 1.0 of object /xxxxxx not found. If anyone could give me any hints on what is causing this, it would be very helpful. Thanks & Regards, Ritu --------------------------------------------------------------------- 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]
