Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-777

SharePoint 2010 does not always qualify FileRef fields with proper relative paths

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • ManifoldCF 1.3
    • ManifoldCF 1.4
    • SharePoint connector
    • None

    Description

      We're seeing instances where SharePoint 2010 (on AWS) does not qualify file references with the expected base-relative URL. For example:

      DEBUG 2013-09-16 13:02:31,590 (Worker thread '23') - SharePoint: getListItems xml response: '<GetListItems xmlns="http://schemas.microsoft.com/sharepoint/soap/directory/"><GetListItemsResponse xmlns=""><GetListItemsResult FileRef="SitePages/Home.aspx"/></GetListItemsResponse></GetListItems>'
      DEBUG 2013-09-16 13:02:31,590 (Worker thread '23') - SharePoint: Checking whether to include document '/SitePages/Home.aspx'
      DEBUG 2013-09-16 13:02:31,590 (Worker thread '23') - SharePoint: File '/SitePages/Home.aspx' exactly matched rule path '/*'
      DEBUG 2013-09-16 13:02:31,590 (Worker thread '23') - SharePoint: Including file '/SitePages/Home.aspx'
       WARN 2013-09-16 13:02:31,590 (Worker thread '23') - Sharepoint: Unexpected relPath structure; path is '/SitePages/Home.aspx', but expected <list/library> length of 26
      

      Here, the fact that the FileRef does not start with a "/" may indicate that it should be treated as being relative to the current library URL. But without more data (and multiple installations) it will be hard to fully test this assumption.

      Attachments

        Activity

          People

            kwright@metacarta.com Karl Wright
            kwright@metacarta.com Karl Wright
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: