manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ahmet Arslan (JIRA)" <>
Subject [jira] [Updated] (CONNECTORS-470) SharePoint 2010 support
Date Tue, 10 Jul 2012 14:56:35 GMT


Ahmet Arslan updated CONNECTORS-470:


Hi Karl,

Thanks for the directions. If I understood you correctly, you wanted me to test pagination
in SPSProxyHelper.getDocuments() method.

I found that, in my test environment there is no library that contains more than 2000 documents.
So, as you suggested, I decreased requestSize from 2000 to 4. I conducted tests on a library
that contains 9 docs.
Which would yield 9/4 = 3 pages. Pagination works fine. While loop iterates 3 times. Exists
loop at the end.

I attached 4 xml responses. test4_all.xml is the response before decreasing requestSize. 
test4_1.xml, test4_2.xml and test4_3.xml are the partial results after decreasing requestSize
to 4.

I have a few observations regarding the following code snippet.

// Get the chunk description
nextChunkDescription = doc.getValue(rsData, "ListItemCollectionPositionNext");
if (nextChunkDescription == null)
 throw new ManifoldCFException("Expected rsdata to have attribute 'ListItemCollectionPositionNext'");

* Please note that ListItemCollectionPositionNext information does not exist in test4_all.xml
(itemCount < requestSize) and test4_3.xml (last page).
* doc.getValue(rsData, "ListItemCollectionPositionNext"); method returns empty string in above
cases. It does not return null.

Regarding SPSProxyHelper.getFieldValues() method, as you said I reverted my changes on

The following code is always called with fieldNames[0]="Last_x0020_Modified" variable.

String attrValue = doc.getValue(o,"ows_"+(String)attrName);
          if (attrValue != null)
I saw that returned attrValue starts with progId e.g. "111;#2012-03-15 10:41:08" Should we
exclude progId from attrValue?

Is it expected that getFieldValues() method is called only for Last_x0020_Modified?
> SharePoint 2010 support
> -----------------------
>                 Key: CONNECTORS-470
>                 URL:
>             Project: ManifoldCF
>          Issue Type: Improvement
>          Components: SharePoint connector
>    Affects Versions: ManifoldCF 0.5, ManifoldCF 0.6
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>             Fix For: ManifoldCF 0.7
>         Attachments: CONNECTORS-470.patch, CONNECTORS-470.patch, CONNECTORS-470.patch,
Screen Shot 2012-05-31 at 11.21.12 AM.png,, pom.patch, pom.patch
> See here for list of the SharePoint web services for SharePoint 2010:

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message