[ 
https://issues.apache.org/jira/browse/CONNECTORS-497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13431400#comment-13431400
 ] 

Karl Wright commented on CONNECTORS-497:
----------------------------------------

Hmm, my code looks like this:

{code}
                  Map values = proxy.getFieldValues( metadataDescription, 
encodedSitePath, listID, "/Lists/" + decodedItemPathWithoutSite, dspStsWorks );
{code}

There is no way that getFieldValues can be called without the /Lists/ prefix 
unless the connector does not believe that the entity is a list.  And yet:

{code}
DEBUG 2012-08-08 04:44:54,807 (Worker thread '4') - SharePoint: getListItems 
for 'IKGeneralFAQ/2271_.000' xml response: '<ns1:listitems 
xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" 
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" 
xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" 
xmlns:ns1="http://schemas.microsoft.com/sharepoint/soap/";>
<rs:data ItemCount="0">
</rs:data>
</ns1:listitems>'
{code}

... which clearly shows no list prefix.  Earlier log entries for thread 4 
confirm that we are in the list-handling code:

{code}
DEBUG 2012-08-08 04:44:53,391 (Worker thread '4') - SharePoint: Getting version 
of '/IKGeneralFAQ///2271_.000'
DEBUG 2012-08-08 04:44:53,398 (Worker thread '4') - SharePoint: Checking 
whether to include list item '/IKGeneralFAQ/2271_.000'
DEBUG 2012-08-08 04:44:53,398 (Worker thread '4') - SharePoint: Finding 
metadata to include for document/item '/IKGeneralFAQ/2271_.000'.
{code}

I have to conclude therefore that you are not using current code from the 
CONNECTORS-497 branch for your test.  Can you check this out please?

                
> Add support for lists to SharePoint connector
> ---------------------------------------------
>
>                 Key: CONNECTORS-497
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-497
>             Project: ManifoldCF
>          Issue Type: New Feature
>          Components: SharePoint connector
>    Affects Versions: ManifoldCF 0.6
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>             Fix For: ManifoldCF 0.7
>
>         Attachments: CONNECTORS-497.patch, CONNECTORS-497.patch
>
>
> Lists are similar to libraries, but without documents.  We still should be 
> able to index empty documents with metadata, however, or select an attribute 
> to treat as the document.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to