https://issues.apache.org/ooo/show_bug.cgi?id=125194

          Issue ID: 125194
        Issue Type: DEFECT
           Summary: Cannot work with shared documents on Sharepoint webdav
           Product: General
           Version: 4.1.0
          Hardware: All
                OS: Windows 7
            Status: CONFIRMED
          Severity: major
          Priority: P3
         Component: code
          Assignee: [email protected]
          Reporter: [email protected]

Situation:
Server: Sharepoint 2010, IIS 7.5, Windows 2010 R2
Autentication: NTLM

When two users try to open the same document with AOO, the second receive the
error: "The operation on \\mysite\sites\Rossi_M\Shared Documents\test.ods was
started with an invalid parameter."

It seems that AOO cannot manage the PROPFIND answer received from Sharepoint.

This is the Open command from IP 10.10.40.65

2014-06-20 09:01:22 10.10.65.225 GET /sites/Rossi_M/Shared+Documents/test.ods -
80 RXXSDM\Rossi_M 10.10.40.65 Microsoft-WebDAV-MiniRedir/5.1.2600 rxxpoint 200
0 0 46

This is the creation of lock file

2014-06-20 09:02:47 10.10.65.225 PROPFIND
/sites/Rossi_M/Shared+Documents/.~lock.test.ods# - 80 RXXSDM\Rossi_M
10.10.40.65 Microsoft-WebDAV-MiniRedir/5.1.2600 rxxpoint 400 0 0 31

and this is the temtative to open the file from another address 10.10.40.146

2014-06-20 09:07:19 10.10.65.225 GET /sites/Rossi_M/Shared+Documents/test.ods
- 80 RXXSDM\Rossi_M 10.10.40.146 Microsoft-WebDAV-MiniRedir/6.1.7601 rxxpoint
200 0 0 421

this is the reply that the file is locked with the PROPFIND

2014-06-20 09:07:45 10.10.65.225 LOCK /sites/Rossi_M/Shared+Documents/test.ods
- 80 REXXDM\Rossi_M 10.10.40.146 Microsoft-WebDAV-MiniRedir/6.1.7601
2014-06-20 09:07:45 10.10.65.225 PROPFIND
/sites/Rossi_M/Shared+Documents/test.ods - 80 RXXSDM\Rossi_M 10.10.40.146
Microsoft-WebDAV-MiniRedir/6.1.7601 rxxpoint 207 0 0 0

A similar test has been done using .doc file with Word and Writer together. 

test.doc file has been open by Word on a webdav share.
Then the same file has been open by AOO. I obtain the same error:
"The operation on \\mysite\sites\Rossi_M\Shared Documents\test.doc was started
with an invalid parameter."

Fiddler has been used to analize the traffic.
This is the HTTP request when AOO try to open the file:

LOCK http://mysite//sites/Rossi_M/Shared+Documents/test.doc HTTP/1.1
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/xml; charset="utf-8"
User-Agent: Microsoft-WebDAV-MiniRedir/6.1.7601
translate: f
Timeout: Second-3600
Connection: Keep-Alive
Content-Length: 206
Host: mysite

<?xml version="1.0" encoding="utf-8" ?><D:lockinfo
xmlns:D="DAV:"><D:lockscope><D:exclusive/></D:lockscope><D:locktype><D:write/></D:locktype><D:owner><D:href>RXXSDM\rossi_m</D:href></D:owner></D:lockinfo>

and this is the Sharepoint answer that AOO cannot interpret and generates the
error:

TTP/1.1 423 LOCKED
Cache-Control: private,max-age=0
Content-Length: 553
Content-Type: text/xml
Expires: Wed, 11 Jun 2014 09:43:56 GMT
Server: Microsoft-IIS/7.5
SPRequestGuid: 29938145-8eba-4530-b477-c185b9299677
X-SharePointHealthScore: 0
Public-Extension: http://schemas.microsoft.com/repl-2
X-MSDAVEXT_Error: 589838;
Il%20file%20%22http%3a%2f%2fmysite%2fsites%2frossi%5fg%2fDocumenti%20Condivisi%2ftest%2edoc%22%20%c3%a8%20stato%20estratto%20per%20la%20modifica%20da%20RXXSDM%5crossi%5fg%2e
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.6115
X-MS-InvokeApp: 1; RequireReadOnly
Date: Thu, 26 Jun 2014 09:43:56 GMT

<?xml version="1.0" encoding="utf-8" ?><D:prop xmlns:D="DAV:"
xmlns:Office="urn:schemas-microsoft-com:office:office"
xmlns:Repl="http://schemas.microsoft.com/repl/";
xmlns:Z="urn:schemas-microsoft-com:"><D:lockdiscovery><D:activelock><D:locktype><D:write/></D:locktype><D:lockscope><D:exclusive/></D:lockscope><D:depth>0</D:depth><D:owner>RXXSDM\rossi_m</D:owner><D:timeout>Second-3567</D:timeout><D:locktoken><D:href>opaquelocktoken:{19543B86-762F-4610-BAB6-A2C71C8C5267}20140626T094324Z</D:href></D:locktoken></D:activelock></D:lockdiscovery></D:prop>

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

Reply via email to