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 2016/12/20 15:29:35 UTC

svn commit: r1775309 - in /manifoldcf/trunk: CHANGES.txt framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/system/ManifoldCF.java

Author: kwright
Date: Tue Dec 20 15:29:35 2016
New Revision: 1775309

URL: http://svn.apache.org/viewvc?rev=1775309&view=rev
Log:
Fix for CONNECTORS-1362.

Modified:
    manifoldcf/trunk/CHANGES.txt
    manifoldcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/system/ManifoldCF.java

Modified: manifoldcf/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/CHANGES.txt?rev=1775309&r1=1775308&r2=1775309&view=diff
==============================================================================
--- manifoldcf/trunk/CHANGES.txt (original)
+++ manifoldcf/trunk/CHANGES.txt Tue Dec 20 15:29:35 2016
@@ -6,6 +6,10 @@ $Id$
 
 ======================= Release 2.6 =====================
 
+CONNECTORS-1362: Don't output the stage_id field for jobs in the API.
+It's not accepted for readback.
+(Cathal Mcguinness, Karl Wright)
+
 CONNECTORS-1361: The max_interval job field was missing from the API.
 (Cathal Mcguinness, Karl Wright)
 

Modified: manifoldcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/system/ManifoldCF.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/system/ManifoldCF.java?rev=1775309&r1=1775308&r2=1775309&view=diff
==============================================================================
--- manifoldcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/system/ManifoldCF.java (original)
+++ manifoldcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/system/ManifoldCF.java Tue Dec 20 15:29:35 2016
@@ -4881,9 +4881,6 @@ public class ManifoldCF extends org.apac
     {
       child = new ConfigurationNode(JOBNODE_NOTIFICATIONSTAGE);
       ConfigurationNode stage;
-      stage = new ConfigurationNode(JOBNODE_STAGEID);
-      stage.setValue(Integer.toString(j));
-      child.addChild(child.getChildCount(),stage);
       stage = new ConfigurationNode(JOBNODE_STAGECONNECTIONNAME);
       stage.setValue(job.getNotificationConnectionName(j));
       child.addChild(child.getChildCount(),stage);