Quantcast
Channel: SharePoint 2010 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 17574

SharePoint 2010 - Invalid URI error when using Edit (link to edit item) in document library

$
0
0

We are using SharePoint Foundation 2010

I have been debuging an issue with the "Edit (link to edit item)" in my document list views. If the document is NOT checked out and the edit icon is clicked, it correctly notfies you and asks if you want to check out the document.  You click "OK", but nothing happens.  

I did some research, the jist is, when you click OK, a call is made to SharePoint'slists.asmx web service to invoke the "CheckOutFile" method. The method requires a "pageURL" parameter. The SP Logs show this parameter (created by SP) to be an invalid URI. 

Here is the SOAP with the URI in bold:

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><CheckOutFile xmlns="http://schemas.microsoft.com/sharepoint/soap/"><pageUrl>http://HOSTNAME%2FShared%20Documents%2Ftest%2Elog</pageUrl></CheckOutFile></soap:Body></soap:Envelope>

I can capture and edit this POST in Fiddler changing the first '%2F' to '/' and the process completes. 

I have traced the creation of the URI to functions within the core.js file which I am not willing to modify. 

My question... is this a known issue with SP?  Does anyone have workaround? 



Viewing all articles
Browse latest Browse all 17574

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>