David, 

I saw this entry from the mailing list. 

I appreciate how busy you are with J2 and other stuff, so any help or
pointers you can provide me are greatly appreciated. 

Can you send me the source code to the module(s) you changed so that I can
replicate them ? The 1.6 distribution also has a similar problem with the
"last login" date that I need to fix. 

Once again, thank you for all the hard work on the Jetspeed project. 

-----Original Message-----
From: David Sean Taylor [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 24, 2005 9:14 AM
To: Jetspeed Users List
Subject: Re: "Create New Account" doesn't work


Stefano Bianchi wrote:
> Dear Sven,
> I don't know if it is similar, but we experience a problem with J1.5 
> CreateNewAccount functionality. We had to modify the relative class 
> since it did not write correctly the Creation Date in the DB (always 
> '0000-00-00'). The user was created, but could not be retrieved 
> immediately afterwards. Sorry if this does not apply to your case...
> Cheers
> Stefano
I added a patch yesterday to 1.6 to fix this problem with the creation 
date and password changed during creation of a new user.
Tested on Hypersonic and MySQL only.

   +        if (user.isNew())
   +        {
   +            Date created = user.getCreateDate();
   +            if (created == null)
   +            {
   +                created = new Date();
   +            }
   +            criteria.add( "TURBINE_USER.CREATED", created);
   +            criteria.add( "TURBINE_USER.PASSWORD_CHANGED", created);
   +         }

-- 
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to