incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1065839 - in /incubator/lcf/trunk: CHANGES.txt framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobManager.java
Date Mon, 31 Jan 2011 22:40:43 GMT
Author: kwright
Date: Mon Jan 31 22:40:43 2011
New Revision: 1065839

URL: http://svn.apache.org/viewvc?rev=1065839&view=rev
Log:
Fix for CONNECTORS-155.  Change the type of the query parameter from String to Long.

Modified:
    incubator/lcf/trunk/CHANGES.txt
    incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobManager.java

Modified: incubator/lcf/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/CHANGES.txt?rev=1065839&r1=1065838&r2=1065839&view=diff
==============================================================================
--- incubator/lcf/trunk/CHANGES.txt (original)
+++ incubator/lcf/trunk/CHANGES.txt Mon Jan 31 22:40:43 2011
@@ -3,6 +3,10 @@ $Id$
 
 ==================  0.2-dev ==================
 
+CONNECTORS-155: Fix a query bug with fetching the job status of a single,
+specified job.
+(Karl Wright
+
 CONNECTORS-148: Intermittent failures creating the PostgreSQL database
 still occurring; traced the problem this time to PostgreSQL not accepting
 a parameter for the password when creating a user.

Modified: incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobManager.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobManager.java?rev=1065839&r1=1065838&r2=1065839&view=diff
==============================================================================
--- incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobManager.java
(original)
+++ incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobManager.java
Mon Jan 31 22:40:43 2011
@@ -6234,7 +6234,7 @@ public class JobManager implements IJobM
   {
     ArrayList list = new ArrayList();
     String whereClause = Jobs.idField+"=?";
-    list.add(jobID.toString());
+    list.add(jobID);
     JobStatus[] records = makeJobStatus(whereClause,list);
     if (records.length == 0)
       return null;



Mime
View raw message