You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by kw...@apache.org on 2012/08/08 03:03:22 UTC
svn commit: r1370621 -
/manifoldcf/branches/CONNECTORS-497/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
Author: kwright
Date: Wed Aug 8 01:03:21 2012
New Revision: 1370621
URL: http://svn.apache.org/viewvc?rev=1370621&view=rev
Log:
Lists and Files have different modified date attributes
Modified:
manifoldcf/branches/CONNECTORS-497/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
Modified: manifoldcf/branches/CONNECTORS-497/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-497/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java?rev=1370621&r1=1370620&r2=1370621&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-497/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java (original)
+++ manifoldcf/branches/CONNECTORS-497/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java Wed Aug 8 01:03:21 2012
@@ -726,12 +726,12 @@ public class SharePointRepository extend
{
// Next, get the actual timestamp field for the file.
ArrayList metadataDescription = new ArrayList();
- metadataDescription.add("Last_x0020_Modified");
+ metadataDescription.add("Modified");
// The document path includes the library, with no leading slash, and is decoded.
int cutoff = decodedListPath.lastIndexOf("/");
String decodedItemPathWithoutSite = decodedItemPath.substring(cutoff+1);
Map values = proxy.getFieldValues( metadataDescription, encodedSitePath, listID, decodedItemPathWithoutSite, dspStsWorks );
- String modifyDate = (String)values.get("Last_x0020_Modified");
+ String modifyDate = (String)values.get("Modified");
if (modifyDate != null)
{
// Build version string