roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r397273 - /incubator/roller/trunk/src/org/roller/pojos/WebsiteData.java
Date Wed, 26 Apr 2006 19:06:14 GMT
Author: agilliland
Date: Wed Apr 26 12:06:13 2006
New Revision: 397273

URL: http://svn.apache.org/viewcvs?rev=397273&view=rev
Log:
date created MUST have a value or you get an exception when trying to create a weblog.


Modified:
    incubator/roller/trunk/src/org/roller/pojos/WebsiteData.java

Modified: incubator/roller/trunk/src/org/roller/pojos/WebsiteData.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/pojos/WebsiteData.java?rev=397273&r1=397272&r2=397273&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/pojos/WebsiteData.java (original)
+++ incubator/roller/trunk/src/org/roller/pojos/WebsiteData.java Wed Apr 26 12:06:13 2006
@@ -58,7 +58,7 @@
     private String  defaultPlugins   = null;
     private Boolean enabled          = Boolean.TRUE;
     private Boolean active           = Boolean.TRUE;
-    private Date    dateCreated      = null;
+    private Date    dateCreated      = new java.util.Date();
     private Boolean defaultAllowComments = Boolean.TRUE;
     private int     defaultCommentDays = 0;
     private Boolean moderateComments  = Boolean.FALSE;



Mime
View raw message