DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=36354>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36354 Summary: Version control method for workspaces incorrectly produces one-version-controlled-resource-per-history- per-workspace error message. Product: Slide Version: 2.1 Platform: PC OS/Version: Windows 2000 Status: NEW Keywords: RFC Severity: major Priority: P2 Component: Versioning AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] The server seems to have a bug in the code which checks to see if a version already exists in a workspace. In the following example, I add the href /slide/history/4/1.0 after the href /slide/history/40/1.0. (Note history/4 vs history/40) Here is a copy of a WebDav client session where I create a brand new workspace, and then add the two hrefs. [LOCALHOST:/slide/workspace/] C:\ $ mkws test Making '/slide/workspace/test' workspace: succeeded. [LOCALHOST:/slide/workspace/] C:\ $ cd test [LOCALHOST:/slide/workspace/test/] C:\ $ versioncontrol /slide/history/40/1.0 href_40 creating versioncontroled Resource '/slide/history/40/1.0' based on '/slide/workspace/test/href_40' : succeeded. [LOCALHOST:/slide/workspace/test/] C:\ $ set debug on [LOCALHOST:/slide/workspace/test/] C:\ $ The debug flag is on. [LOCALHOST:/slide/workspace/test/] C:\ $ versioncontrol /slide/history/4/1.0 href_4 creating versioncontroled Resource '/slide/history/4/1.0' based on '/slide/workspace/test/href_4' : >>>>>>> to server --------------------------------------------------- VERSION-CONTROL /slide/workspace/test/href_4 HTTP/1.1 Authorization: Basic cm9vdDpyb290 Content-Type: text/xml; charset=utf-8 User-Agent: Jakarta Commons-HttpClient/2.0final Host: localhost:8081 Cookie: $Version=0; JSESSIONID=52CE7E03E879703D9644AD51C8599034; $Path=/slide Content-Length: 153 Depth: 0 <D:version-control xmlns:D="DAV:"> <D:version> <D:href> /slide/history/4/1.0 </D:href> </D:version> </D:version-control> ------------------------------------------------------------------------ <<<<<<< from server --------------------------------------------------- HTTP/1.1 409 Conflict Pragma: No-cache Cache-Control: no-cache Expires: Thu, 01 Jan 1970 10:00:00 EST Content-Type: text/xml;charset=UTF-8 Transfer-Encoding: chunked Date: Thu, 18 Aug 2005 21:28:57 GMT Server: Apache-Coyote/1.1 <D:error xmlns:D="DAV:"> <D:one-version-controlled-resource-per-history-per-workspace> </D:one-version-controlled-resource-per-history-per-workspace> </D:error> ------------------------------------------------------------------------ failed. Conflict (409) [LOCALHOST:/slide/workspace/test/] C:\ $ The operation works just fine if I add href /slide/history/4/1.0 before href /slide/history/40/1.0. Regards, Anthony. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
