You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by el...@apache.org on 2005/12/23 18:02:52 UTC
svn commit: r358832 -
/incubator/roller/trunk/src/org/roller/business/RefererManagerImpl.java
Author: eliast
Date: Fri Dec 23 09:02:48 2005
New Revision: 358832
URL: http://svn.apache.org/viewcvs?rev=358832&view=rev
Log:
-Modified RefererData construction to use an empty string instead of a null because of Derby bug.
Modified:
incubator/roller/trunk/src/org/roller/business/RefererManagerImpl.java
Modified: incubator/roller/trunk/src/org/roller/business/RefererManagerImpl.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/business/RefererManagerImpl.java?rev=358832&r1=358831&r2=358832&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/business/RefererManagerImpl.java (original)
+++ incubator/roller/trunk/src/org/roller/business/RefererManagerImpl.java Fri Dec 23 09:02:48 2005
@@ -273,6 +273,16 @@
}
else if (matchRef.size() == 0)
{
+ /* TODO: change "" for excerpt column back to null
+ * I changed to an empty string to avoid the bug in Derby found
+ * http://issues.apache.org/jira/browse/DERBY-628
+ *
+ * We need to either wait for the fix to change it back,
+ * or leave it as is if it doesn't affect anything else.
+ *
+ * Elias
+ */
+
// Referer was not found in database, so new Referer object
Integer one = new Integer(1);
RefererData ref =
@@ -285,7 +295,7 @@
null,
requestUrl,
null,
- null,
+ "", // Read comment above regarding Derby bug
Boolean.FALSE,
Boolean.FALSE,
one,