Author: thomas.heute(a)jboss.com
Date: 2007-02-15 20:58:17 -0500 (Thu, 15 Feb 2007)
New Revision: 6307
Modified:
trunk/identity/src/main/org/jboss/portal/identity/db/HibernateUserImpl.java
Log:
Make user date-registration writable so that it doesn't complain on registration.
Modified: trunk/identity/src/main/org/jboss/portal/identity/db/HibernateUserImpl.java
===================================================================
--- trunk/identity/src/main/org/jboss/portal/identity/db/HibernateUserImpl.java 2007-02-16
01:52:08 UTC (rev 6306)
+++ trunk/identity/src/main/org/jboss/portal/identity/db/HibernateUserImpl.java 2007-02-16
01:58:17 UTC (rev 6307)
@@ -67,7 +67,7 @@
// Map attributes specific to JBoss Portal
map.put(org.jboss.portal.identity.User.INFO_USER_EMAIL_FAKE, new
StringPropertyAccessor(org.jboss.portal.identity.User.INFO_USER_EMAIL_FAKE,
"fakeEmail", true, true));
- map.put(org.jboss.portal.identity.User.INFO_USER_REGISTRATION_DATE, new
DatePropertyAccessor(org.jboss.portal.identity.User.INFO_USER_REGISTRATION_DATE,
"registrationDate", false, false));
+ map.put(org.jboss.portal.identity.User.INFO_USER_REGISTRATION_DATE, new
DatePropertyAccessor(org.jboss.portal.identity.User.INFO_USER_REGISTRATION_DATE,
"registrationDate", true, false));
map.put(org.jboss.portal.identity.User.INFO_USER_VIEW_EMAIL_VIEW_REAL, new
BooleanPropertyAccessor(org.jboss.portal.identity.User.INFO_USER_VIEW_EMAIL_VIEW_REAL,
"viewRealEmail", true, false));
map.put(org.jboss.portal.identity.User.INFO_USER_ENABLED, new
BooleanPropertyAccessor(org.jboss.portal.identity.User.INFO_USER_ENABLED,
"enabled", true, false));
Show replies by date