manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1665848 - in /manifoldcf/trunk: ./ connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/ connectors/sharepoint/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/sharepoint/
Date Wed, 11 Mar 2015 11:35:01 GMT
Author: kwright
Date: Wed Mar 11 11:35:01 2015
New Revision: 1665848

URL: http://svn.apache.org/r1665848
Log:
Fix for CONNECTORS-1171.

Modified:
    manifoldcf/trunk/CHANGES.txt
    manifoldcf/trunk/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
    manifoldcf/trunk/connectors/sharepoint/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/sharepoint/editSpecification_Metadata.html

Modified: manifoldcf/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/CHANGES.txt?rev=1665848&r1=1665847&r2=1665848&view=diff
==============================================================================
--- manifoldcf/trunk/CHANGES.txt (original)
+++ manifoldcf/trunk/CHANGES.txt Wed Mar 11 11:35:01 2015
@@ -3,6 +3,9 @@ $Id$
 
 ======================= 2.1-dev =====================
 
+CONNECTORS-1171: Fix SharePoint connector path mapping UI.
+(Frank Brendel, Karl Wright)
+
 CONNECTORS-1166: Delete link doesn't work on listtransformations
 UI page.
 (Shinichiro Abe, Karl Wright)

Modified: manifoldcf/trunk/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java?rev=1665848&r1=1665847&r2=1665848&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
(original)
+++ manifoldcf/trunk/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
Wed Mar 11 11:35:01 2015
@@ -3538,7 +3538,7 @@ public class SharePointRepository extend
       {
         String match = variableContext.getParameter(seqPrefix+"specmatch");
         String replace = variableContext.getParameter(seqPrefix+"specreplace");
-        SpecificationNode node = new SpecificationNode(seqPrefix+"pathmap");
+        SpecificationNode node = new SpecificationNode("pathmap");
         node.setAttribute("match",match);
         node.setAttribute("replace",replace);
         ds.addChild(ds.getChildCount(),node);

Modified: manifoldcf/trunk/connectors/sharepoint/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/sharepoint/editSpecification_Metadata.html
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/sharepoint/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/sharepoint/editSpecification_Metadata.html?rev=1665848&r1=1665847&r2=1665848&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/sharepoint/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/sharepoint/editSpecification_Metadata.html
(original)
+++ manifoldcf/trunk/connectors/sharepoint/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/sharepoint/editSpecification_Metadata.html
Wed Mar 11 11:35:01 2015
@@ -270,6 +270,7 @@
         <tr>
           <td class="description">
             <a name="s${SeqNum}_mapping_$mapcounter">
+              <input type="hidden" name="s${SeqNum}_specmappingcount" value="$mapcounter"/>
               <input type="button" onClick='Javascript:s${SeqNum}_SpecAddMapping("s${SeqNum}_mapping_$mapcounterplusone")'
alt="$Encoder.attributeEscape($ResourceBundle.getString('SharePointRepository.AddToMappings'))"
value="$Encoder.attributeEscape($ResourceBundle.getString('SharePointRepository.AddPathMapping'))"/>
             </a>
           </td>



Mime
View raw message